Query of custom post types only shows first post

I think you need to change: $case_studies->query(‘post_type=case_studies&p=54,49,44’); to $case_studies->query_posts( array( ‘post__in’ => array( 54, 49, 44 ) ) ); I’d look at this page for LOTS more examples. http://codex.wordpress.org/Function_Reference/query_posts. when your there search for “Multiple Posts/Pages Handling”. Hope this helps, I’m still new to wordpress.

More quicktag driving me nuts

The “read more” link is essentially a navigational device meant to point visitors to a full version of a piece of some excerpted content. A single.php of any post type is the full version, therefore it is 100% in the nature of <!– more –> to not appear on single custom post type pages. If … Read more

How can i link a custom post type thumbnail to intermediate size

<a rel=”lightbox” href=”https://wordpress.stackexchange.com/questions/10191/<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,”large’, true); echo $image_url[0]; ?>”> <?php the_post_thumbnail(‘thumbnail’); ?> </a> Yeah the above (posted by @null) is correct on getting the url, here it is all put together. Including the rel=lightbox. I call to WP’s large image size here personally for the lightbox image to be linked to. … Read more

Custom post_type search pages

How are you restricting the search to your custom post type? If you are doing it by passing an additional argument, i.e. &type=myCustomPostType, you could use a conditional test, like: if(isset($_GET[‘type’] && $_GET[‘type’] == ‘myCustomPostType’)): get_template_part(‘loop’,’youtube’); else: get_template_part(loop); endif;