Allowing HTML elements in title widgets spacing problem
Allowing HTML elements in title widgets spacing problem
Allowing HTML elements in title widgets spacing problem
single_post_title only works on single posts, so you are okay using this. First thing you could try is changing “true” to “false” to make the title be returned in the title tag you’ve created. If that doesn’t fix it then try adding an h1 as below (which i don’t think you’ll need). SEO is also … Read more
You’re substr() on the span which will chop the closing span off. I think what you want is: return ‘<span class=”title-tooltip”>’ . substr( $title, 0, 34 ) . ‘</span>’;
You could write a function to hook into the display of the title, and then when the title is displayed, it will get the value of the custom field and append it to the title. That way you aren’t editing/changing the title every time you save the post. You could do something like: function append_year( … Read more
When you’re using get_post_meta() and the post meta doesn’t exist for that post (or page or custom post type), then the function returns either an empty array or empty string depending on if the third parameter is false (default) or true. Since you’re passing true as that parameter, you can check if either the first … Read more
Post title spoiler how?
How to remove the duplicate title tags and duplicate meta descriptions?
How can I remove an unwanted character from the main page’s title?
Reorder title tag and description tag with wpseo_title and wpseo_metadesc
You can use “the_title” filter for this. http://codex.wordpress.org/Function_Reference/the_title add_filter(‘the_title’,’callbackfunction’); function callbackfunction($data){ global $post; $new_title = “new page title”; //You can set dynamic title from $post return $new_title; } If you just want to change the site title you can do this in the backend itself “Settings->General->Site Title”