Ready to get started?Download WordPress


WP eCommerce
No title on Product Tag List Pages (1 post)

  1. lotsamottsa
    Posted 10 months ago #

    I'm looking for a simple way to display my tag title and description on my tag listing pages. For some reason, the category pages will display the title and description, but the tag pages will not. I have tried the following with no luck.

    <?php if(wpsc_is_in_category()) : ?>
    //code for displaying category details works fine..
    <?php else : if(wpsc_is_in_tag()) { ?>
    <h1><?php echo wpsc_tag_name(); ?></h1>
    <p><?php if(wpsc_show_tag_description() && wpsc_tag_description()) : ?>
    <?php echo wpsc_tag_description(); ?>
    <?php endif; ?></p>
    <?php } ?>
    <?php endif; ?>

    The thing is that the tag pages are populating fine without the "if (wpsc_is_in_tag) page, but why does the title not display in the same way the category does? Seems like a simple solution, but driving me nuts!

    Any help is greatly appreciated. Thanks!



You must log in to post.

About this Plugin

About this Topic