Hello,
In this post http://www.couchcms.com/forum/viewtopic.php?f=2&t=8001&p=13610&hilit=meta+desc#p13610 there is a suggestion from KK on how to make SEO editable fields dynamic
I thought that if I strip off the file suffix
My problem? I can't work out the php necessary to arrive at the variable template_name_minus_suffix as it would be used to get the meta description content ...
Thanks!
In this post http://www.couchcms.com/forum/viewtopic.php?f=2&t=8001&p=13610&hilit=meta+desc#p13610 there is a suggestion from KK on how to make SEO editable fields dynamic
if you can use single words as template titles
I thought that if I strip off the file suffix
- Code: Select all
.php
My problem? I can't work out the php necessary to arrive at the variable template_name_minus_suffix as it would be used to get the meta description content ...
- Code: Select all
<meta name="description" content="<cms:get_custom_field template_name_minus_suffix masterpage='globals.php' />">
Thanks!