Grow your CSS skills. Land your dream job.

Dynamic Categories with backend exclusion

  • # April 27, 2010 at 8:04 pm

    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!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".