We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Categories Not Showing in Sidebar
I'm currently experiencing something weird with Categories showing up in my sidebar. The categories showed up in the sidebar two days ago. Then yesterday morning they didn't show up. I started messing with my sidebar and they showed up again all day yesterday. This morning I opened my site and they are gone again. But I haven't changed any of the underlying code related to the sidebar. I utilize a similar code for my tags and they have continue to show up in the sidebar regardless.
In my sidebar I'm using the following code so the sidebar shows all categories regardless of what post I'm on.
<?php perch_blog_categories('category.html'); ?>
In my sidebar I'm using the following code for tags and it works perfectly everytime
<?php perch_blog_tags('tags.html'); ?>
Here is the code in the category.html which is in my templates/blog folder
<perch:before><ul class="list-unstyled"></perch:before> <li><a href="archive.php?cat=<perch:category id="catSlug" />"><perch:category id="catTitle" /> </a></li> <perch:after></ul></perch:after>
When I view the source of the live code the section is blank.
Any help would be appreciated. I'm new to Perch and have gotten most things to work properly, but categories showing up then not showing up when I haven't touched the code is weird to me. I think I've looked at it to long at this point so another set of eyes might be helpful.
Want to reply to this thread?Login with Perch