Append Next/Previous Post URL
-
Hello,
I have a $_GET variable that I would like to append to the Next/Previous Post URL/link. Is this possible? This would be the goal…
<a href="'.get_permalink($post).'?practice='. $getVar .'">Next</a>
Is there a way to “explode” the shortcode/function so I can just get the URL and append my variable to it?
Thanks!
- The topic ‘Append Next/Previous Post URL’ is closed to new replies.