Template Tags
-
Hello,
I\’m building a custom wordpress theme for a customer and need fast help.
1. How to show the current category of the post?
For example this used with blog posts:
<?php $category = get_the_category(); echo $category[0]->cat_name; ?>What about Cr3ativ Portfolio?
2. How to show related posts of this single post as a navigation as well show the current?
3. How to build and modify the portfolio page that shows all portfolios related to certain category and also one page the shows all portfolio to all categories with pagination and effects?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Template Tags’ is closed to new replies.