• Resolved cloudduster

    (@cloudduster)


    i know this has been asked before but didn’t found the answer useful.

    as the title says, is it possible to include the forum posts and threads in the native wp search?

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @cloudduster

    When I developed this functionality I first planned to integrate the search-results into the default WordPress search results. But the problem is that the WordPress core does not provide any API to cleanly integrate non-WordPress-database-tables into the WordPress search functionality.

    This means: If I want to do this, I have to modify the WordPress core search-queries directly via filters. As a side-effect: Everytime when there are changes in those queries because of an WordPress update or other third-party plugins, the search-query will not work anymore.

    Because of this there is no good way now to do this because I dont want to hack any core-functionalities inside my plugin.

    Thread Starter cloudduster

    (@cloudduster)

    Thank you for your reply.

    I guess the only way to do this is via google custom search.

    @asgaros – have you considered these two approaches:

    • Add support for Asgaros to include WP results via core API functions and parse into yours via PHP output buffering?
    • Store critical forum data in custom field meta data which allow other third party custom search plugins out there to read them? I recognize the performance hit and db impact.

    Just thinking out loud as excellent points on the core limitations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘include in the native wp search result’ is closed to new replies.