• The twentyten theme search results page (I presume uses search.php) shows the results with ‘posted on, by whoever’ and at the end ‘Leave a comment’.
    I don’t want these to appear;I can’t find anything to edit on search.php.
    Can anyone point me in the right direction please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I believe it is in loop.php

    generally loop.php, but any edits in there would also show on other pages.

    as the search.php template already suggests, you could make a loop-search.php;
    start by making a copy of loop.php and saving it under the name loop-search.php; then make the edits in there – i.e. remove all that you dont want to show.

    Thread Starter pgb

    (@pgb)

    Thank you very much for your help, that has solved the problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘search results page in twentyten theme’ is closed to new replies.