Basic Category Listing in Standard Page
-
Hello there,
Some information:
– I downloaded WordPress in April, so I think that gives me 2.92. I don’t know where to look to spot the version, so I’m assuming it’s 2.92.
– I’ve installed the Plugin Exec-PHP
– The other plugins I have activated are: WP-SpamFree and Feed LocationsThe problem:
– As part of my blog appearance and theme, sidebar.php has the following code:<h3><?php _e('Categories','lightword'); ?></h3> <ul> <?php wp_list_categories('title_li='); ?> </ul> <h3><?php _e('Archive','lightword'); ?></h3> <ul> <?php wp_get_archives('type=monthly'); ?> </ul>
That works fine.
– I have two pages, one named Archives and the other Categories that have a parent page, Links.
– the Archive page has this code:<ul> <?php wp_get_archives('type=monthly'); ?> </ul>
and works fine.
– the Categories page has this code:<ul> <?php wp_list_categories('title_li='); ?> </ul>
and produces nothing.
The function call is the same as the one in the sidebar, so it should work?
The Archive php call in-page works, so I’m assuming the Exec-PHP plugin is working fine.
After searching around a little, it seems that the categories are a little buggy…
Any suggestions?
Many thanks, Gavin
- The topic ‘Basic Category Listing in Standard Page’ is closed to new replies.