Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I see there is no way to set the meta description for a page and I appreciate it does not have much impact on SEO but when google displays it's listings, it displays the meta description so I would still like to customise this rather than let google just pick it from the content of the page.
Any one else on an SEO drive that has worked out how to do this?
Thanks,
Terry
Offline
Backlight does not currently use the description meta tag. Instead, we implement descriptions via open graph protocol. I may add the description meta tag in version 1.2, currently in development.
Offline
I agree that it would be great. Regards.
Offline
Offline
Hi Matt,
I agree with Terry, please add the ability to set description meta tag for every page in version 1.2, and pleaseplease soon :-)
best regards,
Oliver
Last edited by volvoxturbo (2017-03-14 01:31:30)
Offline
It's in my working code for 1.2, but I don't have an ETA for release. The 1.2 update is big.
Offline
Btw, if you'd like to have this now, you can edit it into /backlight/modules/standard-page/dynamic/view/page.php.
Find:
<!-- /Open Graph Protocol **************************** -->
Add:
<!-- /Open Graph Protocol **************************** -->
<meta name="description" content="<thp>echo $og_description</thp>" />
Effect being that the description currently used for social media will populate the meta description tag. For albums in particular, that's the Album Description you provide when publishing.
Offline
Thank you Matt,
I will try that...
Best regards,
Oliver
Offline
It works! Be sure to clear template cache after uploading this change.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Good evening,
There are several lines: <!-- /Open Graph Protocol **************************** -->
Under what conditions should this additions be made?
Philippe
Offline
there are two lines where "Open Graph Protocol" appears. But only one of them starts with a slash /
Place the code after that line:
<!-- /Open Graph Protocol **************************** -->
<meta name="description" content="<thp>echo $og_description</thp>" />
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod, it's done and it works impeccably. Thanks of course also to Matthew.
Philippe
Offline
My pleasure. Many thanks should also go to Ben, though, as he did most of the work designing the build-processes for the open-graph ($og_) tags that we use to set the social media information in place.
The reason we're putting the meta tag in that location is so that it appears after $og_description being defined in the social media area.
Offline
Sorry Ben and thank you
Offline
Pages: 1