• Hi,

    a new little problem ?? – i have this template:

    [posts]
    <tr><td width=”100″>[post_modified_date format=”d.m.Y”]</td><td>[title]</td><td width=”200″>[post_terms tax=”category” sep=”, “]</td></tr>
    [/posts]

    Now i will see for all posts the categories. The most posts have only one category, but a few have more and i need only show categories from one parentcategory (primary category).

    i have tried [post_terms tax=”category” parent=”zuschuesse” sep=”, “] – but it not works. If their any possibility to filter this?

    Under Posts: Tax Query is only one parentcategory selected.

    • This topic was modified 5 years, 2 months ago by Forseti2003.
Viewing 1 replies (of 1 total)
  • Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Even if tax query is selected only one parent category, post_terms tag will return all of the categories associated with the post. there’s no way to achieve this right now.

Viewing 1 replies (of 1 total)
  • The topic ‘Show only one category’ is closed to new replies.