WordPress.org

Forums

Change location of page numbers (7 posts)

  1. Nameless_Dream
    Member
    Posted 1 year ago #

    Hi everybody,
    I have a problem with the page numbers in the multi-page posts. The numbers appear after the share buttons and related posts. How can I put them just after the content of the article?
    Here you can see what I mean.

  2. vestimir
    Member
    Posted 1 year ago #

    Здрасти :)

    I suppose you need to move things around a bit inside your template code for post.php. Just make sure that locate any of the pagination functions located here https://codex.wordpress.org/Pagination in the post.php and move the whole block upwards above the sharing block.

  3. WPyogi
    Forum Moderator
    Posted 1 year ago #

    @vestimir -

    I suppose you need to move things around a bit inside your template code for post.php.

    What happens when the theme is updated?

  4. vestimir
    Member
    Posted 1 year ago #

    @WPyogi: You do have a point. Is there any proper way of doing this, maybe adding a specific filter?

  5. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Using a child theme is generally the way to make changes to theme files - http://codex.wordpress.org/Child_Themes

    @Nameless_Dream - I'd actually suggest that you ditch that theme ASAP - it's not released under the GPL licensing requirements of WP - so it's not supported here at all. Here's more info on why - http://www.chipbennett.net/2010/12/10/only-download-wordpress-themes-from-trusted-sources/

    In any case, these forums only provide theme-specific support for themes from here:

    http://wordpress.org/themes/

  6. vestimir
    Member
    Posted 1 year ago #

    @WPyogi - 10x it's good to learn good practices :)

  7. Nameless_Dream
    Member
    Posted 1 year ago #

    Здравей Вестимир,
    Paginatiion блока го намерих в post-single.php и post-page.php. Но не намерих блока за шерване.

    <?php
                    the_content('');
                    wp_link_pages( array( 'before' => '<p><strong>' . __( 'Pages:', 'themater' ) . '</strong>', 'after' => '</p>' ) );
                ?>

    Това е блока, който намерих. Какво означава това, че номерата на страниците трябва да се показват точно след съдържанието ли?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags