Title showing all languages
-
I had this problem before and was easily able to solve it by adding the following code:
apply_filters('the_title',$post_title)In a new theme I’m using the title is captured from an added field in the admin section. In the code it looks like this:
echo $highlight->get('highlight_title');If I change it to
echo apply_filters('the_title',$highlight->get('highlight_title'));nothing changes.In the source code I can see the title displayed like this:
<!--en-->Careers<!--es-->EmpleoI hope someone can help me!
The topic ‘Title showing all languages’ is closed to new replies.