Adding code to static page body
-
I have static page that has text intro under which I would like to display list of categories. I was pointed to the “wp_list_categories” function that will give me what I need. My question is, can I use that directly on the page edit screen? When I type:
<?php wp_list_categories('orderby=name'); ?>
I get just the code text on the final page. No categories. And yes, I am using HTML mode for the text editor.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding code to static page body’ is closed to new replies.