WordPress.org

Forums

[resolved] How to Display the title of all posts under custom category (3 posts)

  1. Manoj Trivand
    Member
    Posted 1 year ago #

    How do i display all the posts that are available in custom category which has custom post_type?

    Thanks in advance

  2. vtxyzzy
    Member
    Posted 1 year ago #

    The code in this article can be modified to do what you want.

    You will need to add the 'include' argument with the id of your custom category to $args, and add the 'post_type' argument with your custom post type to the WP_Query() array.

  3. Manoj Trivand
    Member
    Posted 1 year ago #

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic