WordPress.org

Ready to get started?Download WordPress

Forums

Displaying CPT Categorys and it's posts (1 post)

  1. bej-soan
    Member
    Posted 1 year ago #

    Hi,

    I have a Custom Post Type and I am using the regular categorys as taxonomy with it.

    My code is working, but the category is showing all posts, not only it's own

    The List look somehow like this then
    ART

    • Project A (assigned to ART)
    • Project B (MOTION)

    MOTION

    • Project A (ART)
    • Project B (MOTION)

    See my code here
    http://pastebin.com/zh0dZLJX

    Even when I write 'category'=>'motion' for example direct, without the var, it's still showing all the posts. So my 'category' is not working...

Topic Closed

This topic has been closed to new replies.

About this Topic