Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

[How To] Meta Description for SEO

Discussion in 'Showcase Support' started by Heffalump, Oct 7, 2014.

  1. Heffalump

    Heffalump New Member Showcase


    I am new with showcase and after installing and testing I was very excited about the awesome functionality.
    But i wonder how it is possible to create a meta description tag for SEO?


    nrep and BT012SS like this.
  2. Bob

    Bob Developer Staff Member

    Are you refering to showcase home or each individual showcase? You can edit the templates and add your own META Description (default uses the board description)
  3. Heffalump

    Heffalump New Member Showcase

    I am referring to each individual Artikel in Showcase.

    Showcase home uses the default meta from xf-site.
    Showcase category uses the description, that the category describes.
    But the individual articles in the category do not have a meta description.

    It would be fine, if the articles used the meta-desription like xenforo threads. Just the first 20 words or so...
  4. Heffalump

    Heffalump New Member Showcase

    Ok, its not so difficult and I made the changes for me, and now for others who are interestet.

    Search in template nflj_showcase_index

    <xen:title>{xen:phrase nflj_showcase}{xen:helper pagenumber, $page}</xen:title>
    <xen:h1>{xen:phrase nflj_showcase}</xen:h1>
    Replace with:

    <xen:title>Here you can write whatever you want{xen:helper pagenumber, $page}</xen:title> <xen:h1>Here you can write whatever you want</xen:h1>
    Search in template nflj_showcase_index

    <meta name="description" content="{$xenOptions.boardDescription}" />
    Ersetze mit:

    <meta name="description" content="Here you can write whatever you want" />
    Now you have an unique description and title for the showcase index page.

    Now we had to correct the meta title of every article in showcase . I wish to have additional the category in the title.

    Search in template nflj_showcase_item

    <xen:title>{$item.item_name}{xen:helper pagenumber, $page}</xen:title>
    Replace with:

    <xen:title>{$item.item_name} - {$category.category_name} {xen:helper pagenumber, $page}</xen:title>
    And now the meta-description in the same template


    <xen:require css="nflj_showcase_item.css" />
    And add after this:

    <xen:container var="$head.description"> <meta name="description" content="{$item.item_name} - {xen:helper snippet, $item.description, 150}" /></xen:container>
    Now the meta-description is generated from the articlename and the first 150 letters of the article.

    Last but not least the headline did not have an H1-Tag.

    Search in template nflj_showcase_item

    {xen:helper showcasePrefix, $item}{$item.item_name}
    Replace with:

    {xen:helper showcasePrefix, $item}<xen:h1>{$item.item_name}</xen:h1>
    Now its good for me. :)
    Bob and BT012SS like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.