We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Better Meta not displaying custom titles

Development and Programming

scott.thigpen's avatar
scott.thigpen
118 posts
16 years ago
scott.thigpen's avatar scott.thigpen

Hi,

I’m putting LG Better Meta on this site but I’m not having much success with it displaying a custom title.

I’ve done as instructed and put this in my head

{exp:lg_better_meta_pi:template
    entry_id="{embed:entry_id}"
    weblog_id="{embed:weblog_id}"
    url_title="{embed:url_title}"
    title="{embed:title}"
    title_suffix="{embed:title_suffix}"
    title_prefix="{embed:title_prefix}"
    hide_site_title="{embed:hide_site_title}"
    description="{embed:description}"
    keywords="{embed:keywords}"
    author="{embed:author}"
    publisher="{embed:publisher}"
    rights="{embed:rights}"
    date_created="{embed:date_created}"
    date_modified="{embed:date_modified}"
    date_valid="{embed:date_valid}"
    identifier="{embed:identifier}"
    robots_index="{embed:robots_index}"
    robots_follow="{embed:robots_follow}"
    robots_archive="{embed:robots_archive}"
  }

and I’ve enabled LG in my extensions manager and I feel like I’ve set everything correctly. What else do I need it to do to display a custom title/entry?

here is an example. It’ll display the LG Title I put in the extension setting, but not the title of the page created. Any help?

Mod Edit: Moved to the Extensions: Discussion and Questions Forum

       
NCK Design's avatar
NCK Design
5 posts
16 years ago
NCK Design's avatar NCK Design

Hi Scott,

Did you have any luck?

I have been able to display the default SEO title and meta tags, but I can’t seem to get the individual pages to show their own unique titles and keywords.

Cheers, Nick

       
lukemcr's avatar
lukemcr
154 posts
16 years ago
lukemcr's avatar lukemcr

A quick and easy way to do it would be to do something like this:

{exp:lg_better_meta_pi:template url_title="{segment_2}"}

Where segment_2 is the URL title of your weblog entry. So long as you have unique url_titles, (and you should - they’re standard w/ EE) - this will work very well for your weblog entry pages.

       
NCK Design's avatar
NCK Design
5 posts
16 years ago
NCK Design's avatar NCK Design

Thanks Luke that makes more sense.

Cheers, Nick

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.