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

Theme support is offered to verified customers by forum only. Support requests and solutions made by email, Skype, Envato or any other method will be redirected back to the forum.

This topic is: not resolved
  • In Progress
    Posted in: Fundingpress  
  • Member
    crayart
    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″>
         <?php
            $_SESSION = 5;
            $idObj = get_category_by_slug(‘blog’);
            $id = $idObj->term_id;
            $args=array(
                  ‘hide_empty’ => 1,
                  ‘orderby’ => ‘name’,
                  ‘order’ => ‘ASC’,
                  ‘exclude’ => $id);
                $categories = get_categories($args); ?>
    Is there a modification we can make to exclude certain categories?
    Thanks

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

Comments are closed.