I want to have 2 pages where I can list categories and tags by name. like a "categories.php" which lists the categories. How can I call these functions?
I want to have 2 pages where I can list categories and tags by name. like a "categories.php" which lists the categories. How can I call these functions?
Hey Marpessa,
If you search around the forum, you'll find lots of answers from people doing what you ask in different ways.
I'd start here:
http://codex.wordpress.org/Template_Tags/wp_list_categories
Thank you but the thing is - I need to creat a new page for this, I wont post it in an existing wordpress page and I cant do it.
What about creating a special page template for each and modifying them so there is just the appropriate Template tag? Then when you create the page you could have it use the appropriate template?
http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates
Oh actually I think creating a page inside wp would work the best. I tried using the code "<?php wp_list_categories('arguments'); ?> " but it didnt work. Can you please help? I know I sound like an idiot but I'm new to wp :/
Really not sure the best thing to tell you. You may be able to accomplish it quickly with a plugin like this:
http://wordpress.org/extend/plugins/exec-php/
which allows you to run php within a page. I've never used this and don't know if it would work.
I really encourage you to search the forums here and use Google too. You may find a much more efficient solution.
You could make a custom page template, but I can't explain it all here; you'll have to read up on it using the Codex.
This topic has been closed to new replies.