Hi, I found this section of code in wpfp-page-template.php and I’m trying to get this to work with my CPT ‘Properties’.
Any suggestion as to how I would modify the code to suit?
(ps) Can’t this be added as a preference in settings? Ie… Select from a list of post types to be available as favourites?
$qry = array('post__in' => $favorite_post_ids, 'posts_per_page'=> $post_per_page, 'orderby' => 'post__in', 'paged' => $page); // custom post type support can easily be added with a line of code like below. // $qry['post_type'] = array('post','page'); query_posts($qry);
- The topic ‘Custom post type again :-(’ is closed to new replies.