Currently, my WordPress installation is using the Archive.php template for the results of this plugin. The problem is that when you get to the page, both the page Title and the page h1 are just the first queried variable, and none of the other ones. I am using
<?php $term = $wp_query->queried_object;
echo $term->name; ?>
But as far as I understand, that just returns the first queried object. Is there a simple way to return the title as a list of the queried objects? Thanks!
- The topic ‘Getting Title With Commas’ is closed to new replies.