Archived topic
Pagination Location
7 replies · Started by Jason on June 21, 2020
Good afternoon! First off I absolutely love GeneratePress!! I am trying to move or enhance the pagination links on single posts as it's hidden below related posts and Social Links. Normally my blog posts don't include a page 2 but on this post, due to length, we added a page break. Blog Post with 2 Pages
On that post there is a button that I tossed into the article to make navigation easier temporarily. How can I make this a permanent fix for all posts that have a second page?
HI there,
Just to confirm, you'd like to move the default pagination "Pages: 1 2" to where the button is?
Yes that's correct. And maybe even stylized like the button I am using.
How are you adding the social share buttons and related posts?
Are they automatically added when you activate the plugins?
The social media buttons are inserted using Jetpack.
Are you able to insert it using a shortcode or function?
That's the only way we can insert it using hook and order it the way you want.
I am pretty sure I can.
Hi there,
you can use a Hook Element to add your related posts and share shortcodes to the foot of your posts.
https://docs.generatepress.com/article/hooks-element-overview/
Add your shortcodes.
Choose the after_content hook
Check Execute Short codes
Set Priority to 15
And the display rules set to Posts > All Posts