• I am attempting to use WordPress as a back end CMS for a client and this is going quite smoothly so far. I have managed to pull the posts as shown on the codex (for how to integrate). One aspect I am having trouble using outside WordPress is the search function. I cannot use “get_search_form();” because that sends the visitor back to the WordPress which I do not want. I have been researching and attempting this for the past three days now and have decided its time to ask for some help. If anyone would be willing to give a pretty in-depth answer on how to pull search results and display them outside of WordPress I would greatly appreciate it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Miresca,

    I love WP but the internal search isn’t the most comprehensive available, for what you’re looking for I would suggest that maybe using Google’s custom search would be a better option.

    c.

    Thread Starter Miresca

    (@miresca)

    I have thought about using Google but I’m not sure how I could do what I want to do with it – it would link to the posts directly and thus bring the user back to the wordpress. I was hoping to take the posts the search query found as part of the loop, and then present them on another page to keep the user away from WordPress. Again, I am trying to use WP as a back end CMS. Any ideas on how I could use a third party search and still get this done?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Function Outside WordPress’ is closed to new replies.