WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Post cannot be displayed - not showing on site (2 posts)

  1. yourdaddy
    Member
    Posted 2 years ago #

    hi, my loop seems to be called like = ” get_template_part(‘loop’,'page’); ”

    then that lfile starts = ” if ( have_posts() ) while ( have_posts() ) : the_post(); ”

    how or where can i add my custom post type “specials” into this loop? I set my sample specials to a Category, and set up a page to pull the specials/post from that category, and it shows only = “No Results Found

    The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.”

    But my category in the dropdown shows there is (1) post in that category?

    http://wordpress.org/extend/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    I would suggest using http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts and altering what will be queried, to include your custom post type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.