Making a Shortcode [NEXT] and [PREVIOUS] to place into specific posts for post navigation

Question

I really need some help, I dont know where else to turn with this request. I’d like to add a shortcode to one of my posts. The template tags get_next_post() and get_previous will not work for me since I dont want post navigation on each post page and I want to control where it displays. In a DIV in an HTML structure I’ve created in a post.

So what I need is to generate shortcodes from get_next_post() and get_previous_post()

0
Brett 2 months 0 Answers 8 views 0

Leave an answer