I have themed my category.php file so it now displays all posts that belong to the category that was clicked. The URL looks like [www.example/category/news/]. This is good and correct.
When I go to [www.example/category/] I am expecting to find a Category index page that lists all created categories but I receive a 404.
I have looked in the WP Codex and have not found anything that can help me create a Category index page. Is this possible? If so how do I go about starting? Please forgive me if this has already been answered as I may not be asking the right things.
NOTE: I know that I will be using the wp_list_categories
function so that is not the question.
I have themed my category.php file so it now displays all posts that belong to the category that was clicked. The URL looks like [www.example/category/news/]. This is good and correct.
When I go to [www.example/category/] I am expecting to find a Category index page that lists all created categories but I receive a 404.
I have looked in the WP Codex and have not found anything that can help me create a Category index page. Is this possible? If so how do I go about starting? Please forgive me if this has already been answered as I may not be asking the right things.
NOTE: I know that I will be using the wp_list_categories
function so that is not the question.
1 Answer
Reset to default 11 - Create a custom template file in your theme e.g "my-custom-template.php"
2 - Create a page from the dashboard, and in the page attributes box(Right sidebar), select the custom template you've juste created as a Model.
3 - use wp_list_categories
to get the list of your available categories...
hope this helps you out.