Get a posts category, but with custom title
Hi WP users!
I’m trying to do something I thought was really simple, but I can’t figure it out…
I’m building a kind of portfolio site for a client.
In every single post, I want to give the user the possibility to click on a link called “Related projects”. The link should just take the user back to the post’s category…
I can of course use <?php the_category(‘ ‘); ?> but it returns the name of the category. What I want is like;
Hope it makes sense…
Any help is really, really appriciated.
- The topic ‘Get a posts category, but with custom title’ is closed to new replies.