[Resolved] Feature for "og:title"
I thought it might be good to have the possibility (option via checkbox) to use the plain wp_head() call for generationg the title content instead of using your pre-defined separator in the wp_head() call, see following line of code.
$title = trim( wp_title( '|', false, 'right' ), ' |');
Some SEO-Plugin’s are optimizing/formatting the title, so you have just to use wp_title() in your templates. Separators are not anymore hardcoded and can be changed in a global way by the SEO Plungin.
In my case I use the Genesis Framework which is quiet popular and comes with exactly this SEO function. Only for completeness the Genesis Framework also wraps the wp_title with the standard HTML-Tags
<title>wp_title</title>, but this behavior can be removed by using the following filter.
Remove Genesis title wrapping
remove_filter('wp_title', 'genesis_doctitle_wrap', 20);
What you think?
- The topic ‘[Resolved] Feature for "og:title"’ is closed to new replies.