[Support request] Page with Custom post type posts

Home Forums Envy Blog Page with Custom post type posts

This topic contains 2 replies, has 3 voices, and was last updated by  alexmorco 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1758

    evdi92
    Participant

    Can you please help me to add a query to the page template to display custom post type posts in a way as normal posts are displayed on the home or category pages.
    Something similar to this
    $query = new WP_Query( array( ‘post_type’ => ‘books’, ‘paged’ => $paged ) );
    but integrated into the envy page template code.
    I want to have a separate page where I will show posts with specific post type

    Thank you

    #1768

    Rabindra
    Keymaster

    Hi @evdi92,

    Please follow this following link which helps you to display your custom post uniquely in any theme.

    Thanks!

    #7596

    alexmorco
    Participant

    WordPress custom post type error can happen with the following steps,

    Post – blog post
    Page – static page
    Attachment – attached media
    Revision – post revision
    Navigation Menu – nav menu

    When it comes to WordPress custom post types, WordPress supports an unlimited number of Custom Post Types. This post will help you in fixing this issue.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.