• Hi,

    I just install plugin, and it works fine, button appears and posts load. But, I have somme custom post type. How I can custom the add_action for each page (each custom post type ?)

    add_action('twg_tfsp_query_posts','twg_tfsp_custom_query_posts');
    function twg_tfsp_custom_query_posts(){
    global $paged;
    #You can add any parameters here but the 'paged' parameter is a must
    query_posts(array('post_type' => 'event', 'paged' => $paged));
    }

    http://wordpress.org/extend/plugins/wp-twitterfacebook-style-pagination/

The topic ‘pagination with custom post type’ is closed to new replies.