Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] Easy but important SEO improvement - changing H1 (3 posts)

  1. thomask
    Posted 4 years ago #

    I got one idea for your plugin - option to set special H1 same way, as you do with Title - with this feature, you could have different page name and different H1, what is sometimes very helpfull, as post_title is normaly used on too many places (e.g. menu, breadcrumb ...) - many of them you can use, but it is stupid to change it on 5 places just because you need a different H1

    I'm using it for few years, the code looks like

    function mc_the_title($the_title) {
    	global $post;
    	if(in_the_loop()) {
    		$pagetitle = get_post_meta($post->ID,'_h1',true);
    		if(!empty($pagetitle)) $the_title = $pagetitle;
    	return $the_title;

    i think you will understand


  2. Joost de Valk
    Plugin Author

    Posted 4 years ago #

    I do, but not going to do it, if you use the menu functionality you don't need to change the title, and adding more input fields is the last thing I want...

  3. thomask
    Posted 4 years ago #

    OK, i thought it would be helpful for many of your users (it is not only about menu, e.g. it is often better to have short -not so seo- title, because it is then used e.g. in post parent select (which overflow the box when the title is big; or in posts table etc.), and in advanced settings it would not take space. But you are the boss ;-)
    I will look in your code if you got some hooks so i could put it there myself and save me a space in standard post edit screen.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic