I would like to add a meta value to the title <title>
tag in a custom post typed page. So there would be meta value before normal post title. I have a custom field created that contains the needed data, but I don't know how to show it in the <title>
. I can show it in pages <h1>
in a template file, but I need the title tag to start with that data.
How to do this? My theme uses <?php wp_head(); ?>
and add_theme_support( 'title-tag' );
to print title.
<title>
element, what you see in browser tabs) o the title of the post you see in the within the page?