Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #262746

    I am using a plugin form for a customised search which uses standard wp search and on the result page the enfold theme has a section at the top that says

    New Search
    If you are not happy with the results below please do another search

    I would like to remove this?

    Please help!

    Thanks in advance

    #263111

    Hi,

    Open search.php and remove lines 23 and 24.

    Regards,
    Josue

    #263115

    Sorry can you highlight exactly which code please?
    <?php
    if(!empty($_GET[‘s’]))
    {
    echo “<h4 class=’extra-mini-title widgettitle’>{$results}</h4>”;

    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-search.php and that will be used instead.
    */
    $more = 0;
    get_template_part( ‘includes/loop’, ‘search’ );

    }

    ?>

    #263118

    Hey!

    It should be above that:

    Regards,
    Josue

    #263120

    sorry it still leaves the search box at top of page ….don’t want search box at all

    }

    ?>

    #263124

    Hi!

    Remove the next line too (the one that says get_search_form()..)

    Best regards,
    Josue

    • This reply was modified 10 years, 6 months ago by Josue.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.