Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: WP-SuperCache w/ Banner Ads

    Alternatively you could use an iframe to call an ad-page on your server, and then add that url to the exceptions. This is suggested here (although with a different situation and outcome):
    https://www.ads-software.com/support/topic/182723
    In my case I have mixed image and flash banners rotating, so that’s what I’ll do.

    unline asamuels this is the first successful find for me regarding this subject. Thanks for your solution, filosofo. I wanted the simpler version, the existing posts_per_page value (from the options) on the index page, but in a specific category I wanted all posts.

    In order to apply your solution to my code, I need to set a very high number, such as:

    $GLOBALS['wp_query']->query_vars['posts_per_page'] = 1000;
    query_posts($GLOBALS['wp_query']->query_vars);
    //now we're going into the loop

    using -1 or ‘-1’ returns nothing. Not a problem for me this time, but is there an explanation for this, for posteriority? And could this be solved using filters/actions instead of putting the code into the template?

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