Incorrect permalinks in taxonomy list (2 posts)

  1. robahas
    Posted 3 years ago #

    Greetings -

    I need to create a list of posts that are in a taxonomy. I got that far, but the permalinks to each post completely off. Not even close. Any ideas?

    Here is the page I'm working on: http://intuito.biz/couples/?page_id=12

    And here is the code that generates the list:

    <?php wp_reset_query();
    query_posts(array('post_type' => 'entertainment')); ?><ul><?php
    if (have_posts()) : ?><?php rewind_posts(); ?><?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
    <?php global $more; $more = 0; ?>
    <?php endwhile; ?>
    <?php endif; ?></ul><?php  } ?>
  2. robahas
    Posted 3 years ago #

    Figured it out: I had a previous taxonomy kicking around that had a similar name to the one I was working with. Ug.

Topic Closed

This topic has been closed to new replies.

About this Topic