Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ryankolalis

    (@ryankolalis)

    Ah sorry I should have explored the plugin a little more before posting
    it is clearly stated in the wpfp-page-template.php

    Hello, @ryankolalis

    Can you explain how you managed to get this, if you did.

    I saw the part, // $qry[‘post_type’] = array(‘post’,’page’);
    But how to deal with it is still a mystery for me.

    Thank you in advance.

    Just add this in the
    $qry array

    (‘post_type’ => ‘CUSTOM_POST_TYPE_HERE’)

    Example

    $qry = array(‘post_type’ => ‘CUSTOM_POST_TYPE_HERE’, ‘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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Support for custom post types’ is closed to new replies.