Hi
I got another issue with the meta tags for blog posts.
The blog.php is a clonable template and thought I could do the meta tags the same way as the non clonable pages so in blog.php I added the following code
It's got the fields showing when I create a new blog post and can fill the fields in and I save it but on the blog post article, the meta tag fields are blank
In header.php I have the following code
I thought if it works for the non clonable pages, it would work the same way for the clonable page
I got another issue with the meta tags for blog posts.
The blog.php is a clonable template and thought I could do the meta tags the same way as the non clonable pages so in blog.php I added the following code
- Code: Select all
<cms:editable name='page_section_header' label='Blog Articles Meta Tags' type='group' collapsed='1' order='3' />
<cms:editable name='page_desc' type='text' label='Page Description' group='page_section_header' maxlength="180" desc='For SEO Please keep it 180 or less Characters' />
<cms:editable name='page_keywords' type='text' label='Page Keywords' desc='Seperate key words with a comma' group='page_section_header' desc='For SEO Please keep it 10 keyword Phrases Seperated by Commas' />
It's got the fields showing when I create a new blog post and can fill the fields in and I save it but on the blog post article, the meta tag fields are blank
In header.php I have the following code
- Code: Select all
<meta name="description" content="<cms:get_custom_field 'page_desc' masterpage=k_template_name />">
<meta name="keywords" content="<cms:get_custom_field 'page_keywords' masterpage=k_template_name />">
I thought if it works for the non clonable pages, it would work the same way for the clonable page