List categories wp_list_categories() strange behavior
-
<?php define('WP_USE_THEMES', false); require($_SERVER['DOCUMENT_ROOT'].'/w2eat/blog/wp-blog-header.php'); wp_list_categories( $args ); ?>
I use this same code on https://wildreason.com/blog and it works. On https://wildreason.com/w2eat however, it works everywhere aside from the actual blog page https://wildreason.com/w2eat/blog. I am using the same exact code on my root site and it works. I have a list_categories.php with that code located at /w2eat/blog and use an include statement on my sidebar page.
I’ve tried putting the code from list_categories.php directly in my sidebar page and it behaves the same. It definitely wasn’t the upgrade to 3.0 because it didn’t happen to my main site.
Any thoughts?
- The topic ‘List categories wp_list_categories() strange behavior’ is closed to new replies.