I have a small problem in a wordpress project that I have worked in the past, the solution that I applied there for a custom plugin was to create a couple of tables for some projects that the admin has the ability to add. My mistake was to not make taxonomies and register them in wordpress. Now those projects must appear in the search results. My question is: How/where can I write some code to include a custom table in the search ( where ‘q’ LIKE %title% ) to apply for the internal search and let wordpress calculate the pagination and show the results? Thank you
Leave a Reply
You must be logged in to post a comment.
WordPress had capability to use native mysql query. So you just use the native query to search
About paging, count the row and do paging manually. I think you can do that.