How to place Page navigation just after the end of the content?

Posted in: Newspaper
Post count: 436

Have a look at this image:

I want to show this post navigation just after the end of the post. Currently, there is a share button and then a ‘content bottom’ between the content and this page navigation.

I tried changing the position of ‘ pagination’ here and there but it didn’t work. May be we should work on “content-bottom ad’ call and move it after page navigation call.

You can very well see that the current configuration is not proper as the page navigation options appears after a long gape here. On mobile, the gap becomes too big.

Please help me to solve this issue.

Thank you.

Post count: 20685

Hi,

The post navigation appears in the footer of the post, just after the post bottom ad – https://www.screencast.com/t/Bob6S10f66kr but in your case I see that additional plugins have inserted their content in the post content and pushed the pagination down. You should try if possible to change the display position of these plugins so they are no longer part of the post content. Or implement your bottom ad through a do_shortcode after the post pagination in the structure of the corresponding loop single file to your post template style – https://www.screencast.com/t/u4MER2tSev5Y

Thanks

Post count: 436

Hi, Yes, I am aware of the additional plugins but as you said, post navigation appears in the footer of the post, just after the post bottom ad ,

I want it to appear before the post bottom ad, where should I move the “get_post_pagination’ code so that it can appear before bottom ad, not after it.

Because even if I move the additional plugin codes between pagination and end of the post, it will still appear after ‘content bottom ad’ and in my case, content bottom ad is a native ad and it is creating a big gap there.

If there is no way to move ‘post-pagination’ code before ‘content-bottom ad’, kindly instruct me this ‘do_shortcode’ method to achieve the same result.

Thank you so much.

Post count: 20685

Hi,

First you have to move your ad code from the article bottom ad and insert it in a custom ad spot – https://www.screencast.com/t/8UFvuTxboHI Then you must edit the corresponding loop single file to the post template style you are using (post template style 2 – loop single 2), from the theme folder – https://www.screencast.com/t/sNN926Vt and insert the code provided below (you can change the custom ad number if it is currently in use elsewhere) in the post structure, like in the example after the post pagination. The result in my case is like this – https://www.screencast.com/t/aHRrFK18c1B the ad in now after the post pagination, and in your case should appear before the ad too reducing the distance between the post content and the pagination. This is the code used

<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1" tdc_css=""]'); ?>

Thanks

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