Help with a Custom Template
I need some help modifying the “A Page of Posts” template from the WordPress Codex: http://codex.wordpress.org/Pages#A_Page_of_Posts
I want to make a template like this, but the one in the example uses the category name as its variable. I want to change that from category name to category ID, or category slug.
The reason is that I am using a multilingual plugin, so that category name changes from language to language, and thus this template breaks when using translated names.
Can someone teach me how to modify this template to look for category ID or slug instead of name? Thanks so much!
- The topic ‘Help with a Custom Template’ is closed to new replies.