Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #833137

    Hi
    I am using page breaks to break blog into smaller pages. The pagination is after all the extra information such as page author, date, etc. I want to move the pagination right at the end of the content. How can I do that?

    thanks.

    #834545

    Hey Amir,

    Can you please post a link to your page where you would like to make the changes? I checked the link below and your homepage but since i unfortunately cannot read Persian, it would be great if you could provide more information :)

    Best regards,
    Yigit

    #834631

    Hi @Yigit
    Sure. Please see below. For now, the pagination is after author and before post tags, etc. I want it immediately after the content before author’s box where I have already added a link manually.

    #834697

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    function av_move_pagination(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery(".single nav.pagination_split_post").detach().prependTo('.single .saboxplugin-wrap')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_move_pagination');

    Best regards,
    Yigit

    • This reply was modified 7 years, 3 months ago by Yigit.
    #834918

    Hi @yigit
    Thanks for the code. A little bit of adjustment is needed. It is now inside the Author’s box.

    #837170

    Hi,

    Have you removed it because I do not see it inside the author box?

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.