Controlling wp_title
-
Hi
I have created a site using Easy Content Types – https://pippinsplugins.com/easy-content-types/I have created a custom Taxonomy and when I go to an archive page showing all the articles with a particular item from that taxonomy I want the archive page to have a title
eg:
<h2>Taxonomyitem1</h2>I have used
<?php echo get_the_term_list( $post->ID, ‘pr_categories’, $before, $sep, $after ); ?>
and then I get several taxonomy items displayed at once.I have used
<?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;wp_title( ‘|’, true);?>
and then I get
Keyword > (separator) Taxonomyitem1Can anyone advise me how to just display
Taxonomyitem1?
- The topic ‘Controlling wp_title’ is closed to new replies.