Exclude Categories from Project Page tmp-all-projects.php

  • In Progress
    Posted in: Fundingpress  
  • Member
    January 13, 2014 at 7:34 am #30636

    We’d like to remove some of the categories displayed in the show all project page side menu; ie we want to keep blog categories and project categories separate. This is the code from tmp-all-projects.php for the categories menu:

     <div class=”span12″>
            $_SESSION = 5;
            $idObj = get_category_by_slug(‘blog’);
            $id = $idObj->term_id;
                  ‘hide_empty’ => 1,
                  ‘orderby’ => ‘name’,
                  ‘order’ => ‘ASC’,
                  ‘exclude’ => $id);
                $categories = get_categories($args); ?>
    Is there a modification we can make to exclude certain categories?

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.