• hello guys
    i need help. i would like to set search capabilities for visitors to page elcosito.com. as of now a search brings up nothing. I would like to set it up to search the comments content. i bet is hard but im willing to do the work
    i am not a coder but good at following directions. the wordpress instructions tell me to delete ´the loop´ and everything within my ´div´ but not sure (dont wanna screw anything up) were de div starts and ends?. here are the instrucions, help… anyone?

    1. Using a text editor, open the page.php and save as searchpage.php. (Note: The filename search.php is reserved as a special template name, so avoid its usage; the suggested searchpage.php just makes it easy to recognize in the list of files.)

    2. After saving it, edit the file:

    Delete The Loop (i.e. basically everything within your content div), leaving the div tags intact.
    Add a heading such as “Search Posts” or something similar. You can use an existing class from your CSS style sheet, or create a new one.
    Copy the following into the content div or any other div that contains the content of your Page:

Viewing 2 replies - 1 through 2 (of 2 total)
  • hey…………You can do this with the help of this plugin Search Everything. No need to hardcode

    Thread Starter yellowmans

    (@yellowmans)

    Hi Ritesh
    Yes i have that plugin and other ones too, however when i search for a term, the original post comes up, not the comments. The plugins do not offer an option to do this, but i would love some help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need help with search page’ is closed to new replies.