• Resolved jasghar

    (@jasghar)


    I have a custom post type named ‘listings’ and in it, I have a listings category tab in which I have created a category named ‘interests’ and inside interests category ii have some terms specified with this category.
    the terms are
    ‘hiking’
    ‘dog walking’
    ‘swimming’
    and more…

    Now all I want is to show these terms in frontend using PHP

    what should I do
    I tried using get_terms but its returning a wp_error_object.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to show terms of a category of custom post type?’ is closed to new replies.