• Hello,

    I would like to modify the defult search widgit that comes with wp, is there a way that I can do this so that it will only search my database and specific tables within my database? I want to be able to search for peple and departments in my database for my database which is included in the wp-config file. is this possible?

    Thanks,

    Aaron

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to look into a specific hook for this, then join your tables with the WP standard tables (probably a left join to bring back wp stuff and your own).

    Initially thought that post_where was the hook you need, but it’s been depreciated. Will look into the current one and come back here.

    yes, but u need to write ur own plugin and especify what u need to find or how top find

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I modify wordpress's defualt search’ is closed to new replies.