LittleArt
Member
Posted 3 years ago #
Site url is here:
http://littleart.us/
Looking to eliminate the "No Categories" text that appears on the top right sidebar.
Also looking to eliminate page tiles like:
Private: Home
Which appear on all of my pages.
In summary, I'm trying to create a simple 4 page brochure-type website using wordpress. I have Vigilance Pro and CSS editor available so any help is greatly appreciated.
Thanks.
LittleArt
Member
Posted 3 years ago #
Lol, wow... that was a pretty fast bump ;)
You're going to want to edit your theme's header.php file to remove the items in question. You'll probably just want to delete the tag for displaying the categories.
Here are instructions on how to control what pages appear in your navigation bar.
Good luck!
LittleArt
Member
Posted 3 years ago #
@ LynneAndChad
Thanks for the quick reply,
Tried excluding based on the site's recommendation. Cannot exclude a category if there is not a category to begin with. I'm really stuck here and all I need it to get rid of that damn text!
I had:
!= 'true') : ?>
<?php wp_list_categories('title_li=&depth=1&exclude='. $vigilance->excludedcategories()); ?>
<?php endif; ?>
Entered:
!= 'true') : ?>
<?php wp_list_categories('title_li=&depth=1&exclude=1'. $vigilance->excludedcategories()); ?>
<?php endif; ?>
That fact that the code displays
$vigilance->excludedcategories())
makes it seem like there is a function built into the theme. Have you checked your theme's options for a place to exclude categories? That would eliminate the need to mess with the code all together.