title-tag support and badly formated titles
-
Good day,
I have recently introduced
add_theme_support( 'title-tag' );
into my theme and adjusted it accordingly (i.e. removed<title>
tags and all other code telling how and where to render title). This broke title rewriting functionality of the plugin.Namely, all titles started to appear as
%page_title%%blog_title% | %blog_title%
, though in the plugin settings it was set to simply%page_title% | %blog_title%
. I guess that wordpress does some additional pre- or post- filtering of the title.Disabling title rewriting solved the problem only partially – ordinary titles now appear as they should, while
og:title
meta tags still contain titles rendered as%page_title%%blog_title% | %blog_title%
.Any suggestions how to solve this problem?
- The topic ‘title-tag support and badly formated titles’ is closed to new replies.