Support » Fixing WordPress » Need Help with Post Category Filtering

  • Resolved coastalcutthroat

    (@coastalcutthroat)


    Hi,

    I’m having difficulty with my template when getting only posts from a
    given category to display.

    Of the methods found online none have succeeded:

    1.<?php query_posts('cat=207); ?>
    2. 'category' => '207',

    My theme uses a file called archive-portfolio.php to display
    the featured thumbnail images. Also a custom post type called portfolio created in the functions area.

    Here’s the main page
    archive-portfolio.php:

    [ 311 lines of code moderated, that’s just way too much. For that many lines of code please use pastebin.com instead. ]

  • The topic ‘Need Help with Post Category Filtering’ is closed to new replies.