Support » Fixing WordPress » Pagination numbers

  • Hi,

    In my blog I have a couple of articles splitted in two or more pages (i.e. the link to the page I need help with).

    There’s something I don’t like about the format of the pagination-numbers.

    Now I have something like that…

    Pagine: 1 2 3 4

    …but I’d like to have something like this (center-aligned)…

    Pagine: 1 2 3 4

    or rather, a separator-line and under the separator-line the page numbers center-aligned and with the same space between each number of the pages (now the space is not the same – as you can see if you go to the next page or to the previous page).

    I suppose I have to work on the file content-page.php*… but I don’t know how :-\

    Could you please help me?

    Thank you in advance!

    if you need it, here’s the content-page.php code

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<div class="entry-content">
    	<?php if ( has_post_thumbnail() ) {?>
    		<div class="singleim"> 
    			<?php the_post_thumbnail();?>
    	<?php }?>
    		<div class="singletext">
    		<?php the_content();?>
    					wp_link_pages( array(
    						'before'      => '<div class="page-links"><span class="page-links-title"; >' . esc_html__( 'Pagine:', 'newyoga' ) . '</span>',
    						'after'       => '</div>',
    						'link_before' => '<span>',
    						'link_after'  => '</span>',
    						'pagelink'    => '<span class="screen-reader-text">' . esc_html__( 'Page', 'newyoga' ) . ' </span>%',
    						'separator'   => '<span class="screen-reader-text">, </span>',
    					) );
    	</div><!-- .entry-content -->
    </article><!-- #post-## -->

    [Moderated: Code formatted. See

    • This topic was modified 2 years, 2 months ago by t-p.
    • This topic was modified 2 years, 2 months ago by t-p.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p


    Looking at your site, you’re using yogatime-V2.8 theme, which could not be found in the directory, as far as I can see.

    If this was a custom theme, you may have to go back to your developer team and ask them to make the necessary change(s) to the theme.

    If it’s a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best

    Forum volunteers are not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way

    As the author is aware, commercial products are not supported in these forums.

    Thread Starter olistic


    Thank you for your reply.

    I’ll try to ask to the person who made the site, hoping he will know how to contact the official support.

    Moderator t-p


    You are welcome 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pagination numbers’ is closed to new replies.