• Resolved thomask

    (@thomask)


    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

    add_filter('the_title','mc_the_title');
    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

    https://www.ads-software.com/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Joost de Valk

    (@joostdevalk)

    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…

    Thread Starter thomask

    (@thomask)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Easy but important SEO improvement – changing H1’ is closed to new replies.