Support » Themes and Templates » Redefining query_post within page

  • hi, i cannot find my way around this.

    i’m defining the content on the hp like this:

    <?php
    if (is_home()) {
    query_posts(“cat=3&meta_key=City&meta_value=London”);
    }
    ?>

    now, i want to set links to the menue (static links) which redefines that query, e.g. to this, adding variables:

    query_posts(“cat=3&meta_key=City&meta_value=London&meta_key=Bourough&meta_value!=Chelsea”);

    is this even possible without reloading the whole page? setting up a page for each of the combinations is not an option.

  • The topic ‘Redefining query_post within page’ is closed to new replies.