[Theme: BlogoLife] Change how the search page displays if no search.php file
-
I’m trying to change the way my search page displays but there is no search.php file for this theme in the Editor like I’m used to. Instead, there is a content.php file with this code:
<?php if ( is_search() ) : // Only display Excerpts for Search ?> <div class="entry-content"><?php the_excerpt(); ?></div>
Instead of returning posts and pages with the searched term, I have a Commission Junction plugin that I’d like to use as a product search:
<?php function cjWizardSearch($term) { $keyword = $term; $page_content .= '[cjwizard]' . $keyword . '[/cjwizard]'; echo cjWizard_filter($page_content); } cjWizardSearch($_GET["s"]); ?>
How do I get the plugin to play nice with my non-search.php search page?
Nate
- The topic ‘[Theme: BlogoLife] Change how the search page displays if no search.php file’ is closed to new replies.