Log in to support

Excluding category

Landing How can we help? Themeforest Theme Support Clique Excluding category

Viewing 15 posts - 1 through 15 (of 20 total)
  • Posted in: Clique
  • Post count: 21
    September 30, 2015 at 3:37 pm #217614

    How do I exclude a category from showing in the portfolio?
    I've tried changing stuff around in the WP_Query, but I can't seem to get the regular category exclude to work.

    Here's the query:
    // PORTFOLIO QUERY SETUP
    global $post, $wp_query;
    $portfolio_args=array(
    'post_type' => 'portfolio',
    'post_status' => 'publish',
    'paged' => $page,
    'portfolio-category' => $category_slug,
    'posts_per_page' => $item_count
    );
    $portfolio_items = new WP_Query( $portfolio_args )

    Any tips?
    Thanks!

    Post count: 25779
    September 30, 2015 at 3:57 pm #217623

    Replies only viewable for logged in users

    Post count: 21
    September 30, 2015 at 4:31 pm #217637

    Replies only viewable for logged in users

    Post count: 25779
    September 30, 2015 at 4:33 pm #217639

    Replies only viewable for logged in users

    Post count: 27
    October 10, 2016 at 3:53 pm #295536

    Replies only viewable for logged in users

    Post count: 25779
    October 10, 2016 at 4:24 pm #295549

    Replies only viewable for logged in users

    Post count: 27
    October 10, 2016 at 4:31 pm #295551
    This reply has been marked as private.
    Post count: 27
    October 11, 2016 at 2:19 pm #295763
    This reply has been marked as private.
    Post count: 25779
    October 11, 2016 at 2:24 pm #295765

    Replies only viewable for logged in users

    Post count: 27
    October 11, 2016 at 2:39 pm #295772

    Replies only viewable for logged in users

    Attachments:
    You must be logged in to view attached files.
    Post count: 25779
    October 11, 2016 at 2:53 pm #295780

    Replies only viewable for logged in users

    Post count: 27
    October 11, 2016 at 2:59 pm #295784

    Replies only viewable for logged in users

    Post count: 27
    October 12, 2016 at 3:21 pm #296022

    Replies only viewable for logged in users

    Post count: 25779
    October 13, 2016 at 1:01 pm #296234

    Replies only viewable for logged in users

    Post count: 27
    October 13, 2016 at 1:45 pm #296249
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register