• Resolved steeephen

    (@steeephen)


    Hi,

    I needed to change “the_tags” on my posts and search results to display the word “Operator: ” instead of “Tags: “

    i.e. <?php the_tags('Operator: ', ', ', '<br />'); ?>

    The .PHP theme files I’ve changed “the_tags” on are single.php, search.php and index.php (I’m using the default WP 1.6 template)

    The change has worked successfully for single posts and search results but when I click on a category, the results (listed posts) that are displayed show the word “Tags: ” instead of “Operator: “

    Any ideas on how to fix this? Is there another place I should be changing “the_tags” on?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • steeephen,

    Have you checked the category.php file for this code as well. My assumption is that there are a few remaining instances of the_tag that have gone unchanged. Double check all the necessary files once more.

    Thread Starter steeephen

    (@steeephen)

    I double checked all of the php theme files again and yes – I’d missed one:

    archive.php contained another instance of “the_tags” which has now been changed.

    Everything is working exactly as I want it to.

    Thanks for your advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change ‘the_tags’ on categories results page’ is closed to new replies.