Add text to get_permalink()
-
I would like to add text to the output of the permalink. I have various categories and to every category belongs a second “special”-category. So every category should have a link to its own special-category. I thought the solution could be quite easy, something like this:
<a href="<?php echo get_permalink('); ?>-special">Link</a>
But it cuts the permalink off. I tried other variations, but got no result. Is there any way to get it solved to add a text on the output?
Thanks in advance,
benraaa
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add text to get_permalink()’ is closed to new replies.