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.
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
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.
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
Hi @yigit
Thanks for the code. A little bit of adjustment is needed. It is now inside the Author’s box.
Hi,
Have you removed it because I do not see it inside the author box?
Best regards,
Basilis