
Hi,
I use Themler in Wordpress. The pages title, POST HEADER, appear in H2 format. However, I'd like it to be in H1 format. Could anyone tell me if it's possible and how to get it.
Thanks for your help.
Patrice
Hi,
I use Themler in Wordpress. The pages title, POST HEADER, appear in H2 format. However, I'd like it to be in H1 format. Could anyone tell me if it's possible and how to get it.
Thanks for your help.
Patrice
oh, I am also interested in this question(
oh, I am also interested in this question(Since the "get_the_title()" has the ability to pull in arbitrary HTML code should a user enter HTML code in their page titles, since it's not escaped, you can cause some extra damage.
So let's shorten it all up;
<h1><?php the_title(); ?></h1>
Put that in your "Insert > More > CMS above the "Page" info, delete the existing Page Header, and you're done.
the_title() should only be pulling the area filled out in the TITLE section of WordPress, not any SEO titles from Yoast or other plugins. For extra SEO bonus, the H1 page title and SEO title displayed in Google/Bing should be different. They're different audiences. One "searching" for something, the other is already on your site.
Since the "get_the_title()" has the ability to pull in arbitrary HTML code should a user enter HTML code in their page titles, since it's not escaped, you can cause some extra damage. So let's shorten it all up; <h1><?php the_title(); ?></h1> Put that in your "Insert > More > CMS above the "Page" info, delete the existing Page Header, and you're done. the_title() should only be pulling the area filled out in the TITLE section of WordPress, not any SEO titles from Yoast or other plugins. For extra SEO bonus, the H1 page title and SEO title displayed in Google/Bing should be different. They're different audiences. One "searching" for something, the other is already on your site.Last edited 09 November 2017 by conor2
Hi,
Please try CMS Code control (Themler Insert tab >> More) with the following code:
<h1 class="entry-title ">
<?php
$title = get_the_title();
echo $title;
?>
</h1>
Simply add CMS Code control to the place where you want to display the post header.
Thank you,
Olivia
I was able to go to the PHP file and directly update it but I prefer the CMS Code Control. But when I try to add it the Post Header doesn't show up. So I'm sure I have the syntax wrong.
I was able to go to the PHP file and directly update it but I prefer the CMS Code Control. But when I try to add it the Post Header doesn't show up. So I'm sure I have the syntax wrong.class="entry-title bd-postheader-8">
Brush Removal Service
class="entry-title bd-postheader-8">
Brush Removal Service
<h2 class>
Brush Removal Service </h2>
I want this to be H1..
So if I use the Post Header or Product Title I want it H1.
If I use the CMS Code Control what is the proper code for it?
<h2 class> Brush Removal Service </h2> I want this to be H1.. So if I use the Post Header or Product Title I want it H1. If I use the CMS Code Control what is the proper code for it?I want the post header not the page title? So what's the code for that?
I want the post header not the page title? So what's the code for that?Someone suggested Call it with WordPress code inside CMS Code control and wrap in H1.
Where do I call it from? What file? And what code?
Someone suggested Call it with WordPress code inside CMS Code control and wrap in H1. Where do I call it from? What file? And what code?I don't want the Page Title. I want to change the Post Header to use H1 instead of H2...
I don't want the Title and My SEO Description set to the same thing.. That's bad for SEO.
I want to change the default Post Header to H2. Or the Product Title to H2.
I should have the ability to set these to the meta tag needed...
I don't want the Page Title. I want to change the Post Header to use H1 instead of H2... I don't want the Title and My SEO Description set to the same thing.. That's bad for SEO. I want to change the default Post Header to H2. Or the Product Title to H2. I should have the ability to set these to the meta tag needed...Insert tab>>More?????
Is this inside Themler or Wordpress... I'm not following you.
Insert tab>>More????? Is this inside Themler or Wordpress... I'm not following you.Where do I find this?
You need to use the CMS Code control available under the Insert tab >> More.
Where do I find this? You need to use the CMS Code control available under the Insert tab >> More.Hi,
You need to use the CMS Code control available under the Insert tab >> More. The control should be placed where you want the header to appear.
Sincerely,
Hella
Insert a cms control with the code:
<h1><?php the_title();?></h1>
where do i insert this? what file?
> Insert a cms control with the code: > > <h1><?php the_title();?></h1> where do i insert this? what file?adan,
We answered you in your another topic with the same question.
Themler Post Header control uses h2 because of several reasons like the fact that it is used on the Blog template too and you don't need several h1 on the blog pages.
There a few ways on how to output article title as h1: edit theme source code manually, use Page Title, Blog title or CMS Code control with the custom code which displays joomla article title. For example:
<?php
$article =& JTable::getInstance("content");
$article->load(JRequest::getInt("id"));
?>
<h1><?php echo $article->get("title"); ?></h1>
Thank you,
Olivia
The > Hello Lorelei,
according to SEO requirements only one tag on the page could be H1, and this is Page Title.
The Post Header now may be output as H1 only if template file is modified manually.
Regards,
AileenHello Lorelei,
according to SEO requirements only one tag on the page could be H1, and this is Page Title.The Post Header now may be output as H1 only if template file is modified manually.
Regards,
Aileen
The fact that you don't get this is very disturbing. CMS like Joomla and Wordpress are mostly used for news and corporate websites. The content of these sites are usually posts or articles for Wordpress and Joomla respectively. What we are saying here is, We want a way to make the Titles of the posts or articles which are the main content of each page be H1.
Making the page titles created from the menu manager in Joomla is like asking us to create a menu item for each joomla article.
The > Hello Lorelei, > according to SEO requirements only one tag on the page could be H1, and this is Page Title. > > The Post Header now may be output as H1 only if template file is modified manually. > > Regards, > Aileen > Hello Lorelei, > according to SEO requirements only one tag on the page could be H1, and this is Page Title. > > The Post Header now may be output as H1 only if template file is modified manually. > > Regards, > Aileen The fact that you don't get this is very disturbing. CMS like Joomla and Wordpress are mostly used for news and corporate websites. The content of these sites are usually posts or articles for Wordpress and Joomla respectively. What we are saying here is, We want a way to make the Titles of the posts or articles which are the main content of each page be H1. Making the page titles created from the menu manager in Joomla is like asking us to create a menu item for each joomla article.Hello Lorelei,
according to SEO requirements only one tag on the page could be H1, and this is Page Title.
The Post Header now may be output as H1 only if template file is modified manually.
Regards,
Aileen
If I use the Page Title it contains much more text for SEO purposes. I want to use Post Header but have it as H1 Tag. Can you add this feature to let me set the Post Header to the Tag I need????
If I use the Page Title it contains much more text for SEO purposes. I want to use Post Header but have it as H1 Tag. Can you add this feature to let me set the Post Header to the Tag I need????Insert a cms control with the code:
<h1><?php the_title(); ?></h1>
Insert a cms control with the code:
<h1><?php the_title(); ?></h1>
Hi,
You can also try using Page Title control available under the Insert Tab >> More.
It uses H1.Thank you,
Olivia
The Page Title control shows the Main Site Name, not the page title....
> Hi, > > You can also try using **Page Title** control available under the Insert Tab >> More. > It uses H1. > > Thank you, > Olivia The Page Title control shows the Main Site Name, not the page title....Hi,
You can also try using Page Title control available under the Insert Tab >> More.
It uses H1.
Thank you,
Olivia