WordPress.org

Support

Support » Plugins and Hacks » Hacks » Custom Query Var handling

Custom Query Var handling

  • adhardwick
    Member

    @adhardwick

    I am using google Adsense for search.
    On form submit the action adds a query var string that starts with “?cx=”

    I want that action to be handled by a file in theme called results.php (instead of search.php or the fallback index.php). Does anyone know how this can be done?

    Maybe a filter to add cx to query vars and the a filter to define is_results function?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Query Var handling’ is closed to new replies.