• Hi,

    Could anyone tell me how I can add pagination buttons to the pagination, instead of only the numbers? I know have

    “1 2 3 4″

    But I actually desire something like

    “< Previous 1 2 3 4 Next >”

    I use an alternative styling using functions .php based on this args array:

    $args = array(
        'posts_per_page' => 2,
        's' => esc_html($keyword),
        'paged'=> $pagenumber,
        'post_type' => 'project'
    
        );

    The pager is displayed by the following code, but i don’t know how to alter it:

    echo $apiclass->ajax_pagination($arg['paged'],$query->max_num_pages, 2, $id);

    The plugin Page Navi does not work because of the ajax.

    https://www.ads-software.com/plugins/ajax-wp-query-search-filter/

  • The topic ‘Add navigation (next/previous) to pager’ is closed to new replies.