Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15789

    Hello,

    I have tried edit the “loop-index.php”

    like this:

    <?php

    global $avia_config;

    if(isset($avia_config)) { query_posts($avia_config); }

    $loopcounter = 1;

    // check if we got posts to display:

    if (have_posts()) :

    while (have_posts()) : the_post();

    ?>

    but its not working, how do I do it?

    Kind regards,

    Richard

    #89023

    Hi!

    Try following code instead:

    if(isset($avia_config['new_query'])) {
    $avia_config['new_query']['category__not_in'] = array(16,8,24);
    query_posts($avia_config['new_query']);
    }

    and instead of “16,8,24″ insert your custom category ids.

    Regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to hide certain categorys posts from blogroll?’ is closed to new replies.