Add #primary at the end of navlink permalinks on single posts

Question

I’m trying to add #primary at the end of the permalinks to the previous- and next post on all single post pages, to jump past the header directly to <div id="primary"> when going to the previous or next post.

Can anyone give me a hint on how to do this?

Sorry if the question is to basic for this forum. From what I can see in my searches, this question has not been posted in the forum before.

Eric

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/add-primary-at-the-end-of-navlink-permalinks-on-single-posts/">

Add #primary at the end of navlink permalinks on single posts</a>
0
, , , , Eric 1 month 0 Answers 58 views 0

Leave an answer