Help with a Custom Template
-
I need some help modifying the “A Page of Posts” template from the WordPress Codex: http://codex.ww.wp.xz.cn/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!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Help with a Custom Template’ is closed to new replies.