Hi guys,
So I’m working on a wordpress theme, and I have the navigation spitting out the categories and pages, and I also have a backend option which allows you to enter categories you want to exclude, however I’m not sure how would i combine this into the <?php wp_list_categories(‘&exclude="); ?> command, does anyone know a way of doing this? My Backend code to spit out the text looks like this <?php echo get_option("cp_catExclude", $single = true); ?>, obviously I can’t just insert it within the list categories command, so there has to be another way.
Thanks in advance!