WordPress.org

Ready to get started?Download WordPress

Forums

Esquire
[resolved] Moving the Previous/Next Post link (4 posts)

  1. Emily
    Member
    Posted 1 year ago #

    Hi,

    I've had people email me that finding the previous/next post links on my blog is too hard to find. Have any of you successfully moved this out of the footer? I tried downloading a PHP integration to the Text Widget maker, and moving that to just below the post content, but I couldn't get it to work.

    Thanks,
    Emily
    oic-books.com/blog

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Hi Emily,
    I tried this on a test site and it seemed to be fairly straightforward to move the pagination above the blogroll section -- if that's where you want it to moved to.

    Just move the <div id="footer"> section (the entire div which includes all the code about navigation) above this line

    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>

    But before you make ANY changes to theme files, you need to create a child theme -- that way your changes won't be overwritten when the theme is updated.

    Once you have the child theme set up, make a copy of your footer.php file and put that in the child theme folder -- and edit it there. It might also be easier to make changes using a text editor -- it's easier to see where divs start and end, there are line numbers, etc.

    Another great thing is that if you mess up the file in the child theme, just toss it and start again with a new, unmodified copy from the parent theme.

  3. Emily
    Member
    Posted 1 year ago #

    Thanks WPyogi!

  4. Emily
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic