1

In some cases I need to use custom page titles while using Structure. I know you can set up a custom field and use that, but I am also wondering if there is a way to use the Title field within the SEO Lite module?

If not, I think I could always hide the SEO Lite Title field and replace it with my own custom field, but I am hoping there is a simple way to accomplish it natively?

Thanks for your help!

1 Answer 1

2

Pop the following in your header:

{exp:seo_lite entry_id="{structure:page:entry_id}"}

If you do not add a title into the SEO Lite title field, the entry title will be used for the title meta tag.

If you do add a title into the SEO Lite title field, that will be used.

1
  • 1
    Works great! I <3 you...
    – Jacob Graf
    Oct 2, 2013 at 16:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.