Forums

[resolved] Attach custom post types to a page (like regular posts)? (2 posts)

  1. JsonB123
    Member
    Posted 1 year ago #

    I am wondering how to specify a page to attach my custom post type to? I don't necessarily need an interface to do this, but for example, one can do this with the standard 'post' type that is default with WordPress by going to Settings > Reading and then selecting a page from the drop-down menu for 'Posts page'.

    I want to accomplish this same thing with a custom post type and have it show on a page of my choosing instead of /post-type-name/post-name...is this possible? If so, how can I do this? Thanks! :-)

  2. JsonB123
    Member
    Posted 1 year ago #

    I suppose this isn't actually want I want to ask. Starting a new thread. I've decided the easiest way to accomplish to above is to just use WP_Query on a custom template, which can be attached to any page you want.

Topic Closed

This topic has been closed to new replies.

About this Topic