Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Blog Post Meta Description

Contributor ,
Mar 02, 2017 Mar 02, 2017

Hi

I search the forum and can only see answers from 4 years ago. However the answer doesn't seem to work at least not for me. Even BC's KB lacks that info.

https://docs.worldsecuresystems.com/user-manual/Modules/Blogs/advanced-customization-of-blogs-and-po... and SEO (Search engine optimization)

So, how do I add/ replace the header meta description tag? I added:

<html>

    <head>

    </head>

    <body>

        {tag_blogpostmetadescription}

</body>

</head>

</html>

But BC throws the tag into the body, rendering the description inside a DIV.

<div id="catblogoutput">

        Blog post description here....

        <div class="blog-post"   

</div>

What's going on BC? you give options but they don't work.

Thanks

Mic

TOPICS
Content management and modules
703
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 02, 2017 Mar 02, 2017

Hi Mic,

Well that is not even valid HTML. So you first have to do that properly:

<meta name="description" content="{tag_blogpostmetadescription}"></meta>

And for your blog post.html layout:

<head>
<meta name="description" content="{tag_blogpostmetadescription}"></meta>
</head>

Translate
LEGEND ,
Mar 02, 2017 Mar 02, 2017

Hi Mic,

Well that is not even valid HTML. So you first have to do that properly:

<meta name="description" content="{tag_blogpostmetadescription}"></meta>

And for your blog post.html layout:

<head>
<meta name="description" content="{tag_blogpostmetadescription}"></meta>
</head>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 05, 2017 Mar 05, 2017

Thanks Liam.

I wish BC wouldn't have included section such as Blog Title and Blog Description with really bad or non-existing documentation. Thanks for clarifying how to add this function.

TIP for CB. Add a little description or 'help' button next to items/ functions that need extra development so people don't need to waste time searching your endless KB or ask the forum for help.

Thanks

Mic

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2017 Mar 05, 2017
LATEST

It is all in the doc Mic, Some people do not want it to output by default.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines