• Resolved tungvn

    (@tungvn)


    Hi everyone!
    I want to show all posts (all categories, posttype) with WP_Query and it works OK. Now how do I get the category URI (with posts in its category) or term URI (with posts in its posttype)? Or how do I know the post follow any category or taxonomy?
    Sorry for my English and thanks for all!

Viewing 1 replies (of 1 total)
  • Thread Starter tungvn

    (@tungvn)

    I have just solved this trouble.
    Use wp_get_object_term to get term, then get_term_link

Viewing 1 replies (of 1 total)
  • The topic ‘Get the category URI or term URI of post’ is closed to new replies.