Hello, I am studying next_post and previous_post on the Codex page
I use the plugin WP-print. It makes a printer-friendly alternative CSS for each single-post page. The printer-friendly version is at the URL of the post with /print/ on the end of the URL (using fancy htaccess magic).
Now I want to add "Next Post" and "Previous Post" on my printer-friendly pages. Using the regular next_post, I get the next post's title hyperlinked to the URL of the normal single-post page (not printer friendly). I want to instead go directly to the /print/ version of that page. Therefore I want to simply append /print/ onto the end of the next_post URL.
So... what I want is a template tag that outputs the URL of the next post, not a hyperlinked title, not a hyperlinked word "Next >>". Just give me the raw http:// of the next post, and let me add /print/ at the end?
Is this possible?
Or, another way, to strip the URL out of next_post?