Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Dynamic Categories with backend exclusion

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28870
    Techguy172
    Member

    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)
  • The forum ‘Back End’ is closed to new topics and replies.