Results 1 to 7 of 7

Thread: How can I Hide a category of articles

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    s054000's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post How can I Hide a category of articles

    please! if I don't like show some category of articles in item list. How to modify the code.

    is there >>> query_posts ???


    <div class="list">
    <?php
    $i = 1;

    if(!empty($_GET['sort']))
    {
    $orderby=trim($_GET['sort']);
    $order=trim($_GET['order']);
    $key=trim($_GET['key']);

    // create the sort by injection
    $posts = query_posts($query_string . '&orderby='.$orderby.'&meta_key='.$key.'&order='.$ order. '');
    }

    if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: How can I Hide a category of articles

    I'm not sure I understand your question. The code you pasted here is for sorting the columns....not for categories. Can you please explain a bit more what you're trying to accomplish?

  3. The Following User Says Thank You to dcowgill For This Useful Post:

    jpartner (November 30th, 2010)

  4. #3
    Thread Starter
    Newbie
    Not a Verified Customer
    s054000's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How can I Hide a category of articles

    Hi dcowgill
    please see the picture, it is about my question.



  5. #4
    Junior Member jpartner's Avatar
    Join Date
    Oct 2010
    Location
    Sweden
    Posts
    34
    Thanks
    20
    Thanked 0 Times in 0 Posts
    How can I hide some/any categories from the:
    Menu Category
    Home Page Category

    Regards

  6. #5
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,967
    Thanks
    169
    Thanked 3,406 Times in 3,277 Posts
    What version are you using then.

    Quote Originally Posted by jpartner View Post
    How can I hide some/any categories from the:
    Menu Category
    Home Page Category

    Regards
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  7. The Following User Says Thank You to jomarkosabel For This Useful Post:

    jpartner (December 1st, 2010)

  8. #6
    Junior Member jpartner's Avatar
    Join Date
    Oct 2010
    Location
    Sweden
    Posts
    34
    Thanks
    20
    Thanked 0 Times in 0 Posts
    Im using 3.0.5.2

  9. #7
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,967
    Thanks
    169
    Thanked 3,406 Times in 3,277 Posts
    This thread is for the previous version of Classipress and so you may try starting a new topic at the latest version section. I will try to answer you there.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How To Hide wp-admin page
    By bili.ph in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 20th, 2009, 03:25 AM