Adding an anchor to previous_post_links and next_post_links
-
Been trying to do this all day but not having any luck!
In my WordPress theme I have a gallery at the top and blog posts below it. Each time I click the previous or next post links it goes to the top which I don’t want so I’ve created an anchor called #blog and placed in my html below the gallery. How do add the anchor to the previous_post_links and next_posts_links to make it work? If it can’t be done, is there a JavaScript solution for it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding an anchor to previous_post_links and next_post_links’ is closed to new replies.