setting number of posts with query posts also exclude category title and widgets (2 posts)

  1. globalreporter
    Posted 4 years ago #

    I want to have 0 posts in some specific category pages.
    So I used alternatevely the following codes:

    1) in functions.php
    if(!is_category(array( 'cat ID or name' ))) {
    2) in archive php
    <?php if(!is_category(array( 'cat ID or name' ))) : ?>
    <?php itx_loop();?>
    <?php endif; ?>

    The problem is that in both cases also the category page title and all my widgets disappear: I'd like them to still be there!
    Please let me know what i should to...

  2. globalreporter
    Posted 4 years ago #

    Is anybody able to help me with that?

Topic Closed

This topic has been closed to new replies.

About this Topic