Searchbar Function on All Pages
Hey there,
How would I modify the following code to make the Classipress search bar appear on all pages?
?php
if ( is_page_template( 'tpl-ads-home.php' ) || is_search() || is_404() || is_tax( APP_TAX_CAT ) || is_tax( APP_TAX_TAG ) || is_singular( APP_POST_TYPE ) ) :
$args = array(
'show_option_all' => __( 'All Categories', APP_TD ),
'hierarchical' => $cp_options->cat_hierarchy,
'hide_empty' => $cp_options->cat_hide_empty,
'depth' => $cp_options->search_depth,
'show_count' => $cp_options->cat_count,
'pad_counts' => $cp_options->cat_count,
'orderby' => 'name',
'title_li' => '',
'use_desc_for_title' => 1,
'name' => 'scat',
'tab_index' => '2',
'class' => 'searchbar',
'selected' => cp_get_search_catid(),
'taxonomy' => APP_TAX_CAT,
);
$args = apply_filters( 'cp_dropdown_search_bar_args', $args );
?>
Thanks for your tie!