WordPress.org

Ready to get started?Download WordPress

Forums

BlogoLife
Change how the search page displays if no search.php file (1 post)

  1. akpandaman
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/themes/blogolife/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic