• Hey,

    I’m trying to fix an issue with pagination not displaying.
    $event_query = new WP_Query(array( 'post_type' => array( 'event', 'news' )));
    I’m pulling in content from two different post types. Have about 100 combined event and news posts.

    WordPress is set to display 10 posts per page, but fails to show pagination for this page, even though the pagination code is present.
    <p><?php posts_nav_link(' • '); ?></p>

    I was messing around with different pagination snippets and the one that seems to display something is this one
    <?php previous_post(); ?> <?php next_post(); ?>
    But this one is not very useful since I’m displaying a list of posts

    Any help/guidance will be appreciated.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Pagination not displaying with post type array’ is closed to new replies.