direct custom post query interferes with other queries on page

You might be looking for wp_reset_query You would insert this after your return. add_filter(‘pre_get_posts’, ‘query_post_type’); function query_post_type($query) { if($query->is_category() || $query->is_tag() || $query->is_home() && $query->is_main_query()) { $post_type = get_query_var(‘post_type’); if($post_type) $post_type = $post_type; else $post_type = array(‘post’,’my_custom_post_type’); $query->set(‘post_type’,$post_type); return $query; } wp_reset_query; } I really hope this helps.

What’s the best way to show custom post types? With page template it’s not perfect!

Refer to the Template Hierarchy Codex entry. To display the archive index page for a custom post type, use template file archive-{posttype}.php. To display a single post page for a custom post type, use template file single-{posttype}.php. For your pagination issues with a custom query loop, look for related questions on the site.

How to insert post into a page?

The likely issue here is you need to refresh your permalinks for it to recognise the post type. Classic fix is to go to Settings > Permalinks and then click Save Changes without actually saving anything. Just loading the permalinks setting page usually fixes it, but saving makes sure. I’d say that’ll fix the issue.

Option to feature custom post type on home page

First, you’ll want a quick way to toggle whether a post is featured or not. I wrote a plugin that does this: http://wordpress.org/extend/plugins/featured-item-metabox/ but I feel like a total dork because I just discovered that this plugin was already doing that! http://wordpress.org/extend/plugins/featured-post Ugh. Anyway, how you want to feature them on the home page will … Read more