Next/Previous Post URL only
-
Hi guys,
I’m looking on the documentation and googling it, but I just can’t find anything, which is weird, ’cause it seems to be a simple thing.
You know, the functions: next_post_link and previous_post_link.
But I want them to show ONLY the URL, without any text. Like, I wish to make a tag like this:
<a href="<?php next_post_link(URL) ?>?variable=value"> Here some text </a>
Could you help me, please?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Next/Previous Post URL only’ is closed to new replies.