Register or log in:



Hot Tags

Blog Oh! Blog Forums » Wordpress Themes

Problem With Tags on Bob V2

(2 posts)

Tags:


  1. CigarJack
    Member

    I love the theme and slowly tweaking it to fit my needs, but I'm having a bit of an issue. I'm trying to display Tags and Categories together at the bottom of the posts.

    While this works on Single Post:
    Posted in &raquo; <?php if (the_category(', ')) the_category(); ?> <?php if (get_the_tags()) the_tags(', '); ?>

    It doesn't work on the Main Index.

    I did some searching around on the WordPress Forums and I got Tags to display by changing this:

    <?php $firstpostquery = new WP_Query('showposts=1'); ?>
    <?php while($firstpostquery->have_posts()) : $firstpostquery->the_post(); $firstpost = $post->ID; ?>

    To

    <?php query_posts('showposts=1'); while(have_posts()) : the_post(); $firstpost = $post->ID; ?>

    Fixes the tags displaying on the first post displaying on the main index it breaks the excerpts at the bottom of the page.

    Posted 5 months ago #
  2. How exactly does it break the bottom excerpts?

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

{ A Forum of Blog Oh! Blog }