• I’m creating a movie review site, and to create reviews I have created a custom post type for movie reviews. I also have created several taxonomies, such as movie genre. I want to allow people to click on a movie genre name and then they go to a page that displays all movie reviews associated with that genre. You can see it in action here for the movie genre “action”:

    http://www.therighteousremnant.com/blog/index.php/movie-genre/action/

    The problem is it displays the table twice due to recognizing that two movies fall under the “action” genre. If you click on the “horror” genre then you only see the table once (there’s only one movie review thus far associated with that genre).

    What could be causing this? Here’s the code that displays the list of reviews according to the genre selected:

    http://pastebin.com/YDbxiP7s

    Any help is appreciated! Thanks.

The topic ‘Why is my table displaying twice?’ is closed to new replies.