WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] paginate_links Seperator showing last, how do i fix this? (2 posts)

  1. sosukeinu
    Member
    Posted 2 years ago #

    I'm using paginate_links using this code

    <?php
    global $wp_query;
    
    $big = 999999999; // need an unlikely integer
    
    echo paginate_links( array(
    	'base' => str_replace( $big, '%#%', get_pagenum_link( $big ) ),
    	'format' => '?paged=%#%',
    	'current' => max( 1, get_query_var('paged') ),
            'prev_text'    => __('&laquo; Previous'),
            'next_text'    => __('Next &raquo;'),
    	'total' => $wp_query->max_num_pages
    
    ) );
    ?>

    and it's showing up like:
    « Previous 1 2 3 4 5 6 9 Next » …
    with the separator dots outside of the nav
    any ideas on what could be happening?
    thank you.

  2. sosukeinu
    Member
    Posted 2 years ago #

    nevermind, i figured it out. it was a css class on the nav a of block and float left. duh.

Topic Closed

This topic has been closed to new replies.

About this Topic