Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cabotcheese

    (@cabotcheese)

    HI!

    Thank you for the alternative suggestions for Search. I will note that in some cases, a Search plugin can break functionality that is based on default WP search logic. For example, some of my tables are generated using TablePress plugin, and Tobias has ‘hooked’ the default WP search to flag tables that are generated via shortcode and add a step to search within them. It works great, but the Search Everything plugin is unaware of this logic and therefore break the hook when enabled.

    You recommended:

    … adding a hook or using a filter that allows searching within dynamically generated content.

    I am not a web programmer so I would be unable to do this, and would prefer that logic to be bundled with the plugin, written by the supporting developer. I understand that such a hook may slow down search significantly, and I appreciate the heads-up.

    All that said, may I make a feature request? If you add a hook similar to the one they use in TablePress, perhaps it can be configurable as Enabled/Disabled with a Warning that it may slow down Search. That way the user can choose ?

    So much of my site content would be based on table data that without the ability to search within the table, my functionality is crippled. And, like I mentioned, adding search plugins to bridge the gap can add moving parts that break other things.

    Just to cross reference ideas, here is a description of how TablePress ‘hooks’ the default WP search, for reference:

    By default, WordPress does not search content that is generated by Shortcodes (like TablePress tables), as it basically never sees that content, but just the Shortcode.
    TablePress works around that by hooking into the search and adding an intermediate step: It will search all of its tables and then extend the WordPress search to not just search for the search terms, but also for all Shortcodes that have a table ID in them that contains the search terms.
    The WordPress search will then return a list of all posts/pages that contain such a Shortcode, alongside all “regular” search results.

    LET ME APPOLOGIZE FOR CROSS-REF AGAINST ANOTHER PLUGIN PROVIDER. I JUST WISH TO ADD CONTEXT, SINCE I HAVE HAD DIFFICULTY RESOLVING THIS ISSUE.

    YOU BOTH ARE AWESOME AND I LOVE THE WORK YOU DO !!!

    THANKS!

    Thread Starter cabotcheese

    (@cabotcheese)

    Hi!

    I’m not sure if they load via Ajax (novice WordPress guy here), but it is a well documented plugin developer – I am using SiteOrigin Widgets Bundle (Inked Tabs Widget).

    Page URL for example is:

    http://cefrederickfamily.com/kbase/tabbed-page/

    wpDataTable tries to load on the second tab, which loads by default with that page. If you look at the 3rd tab, the one just to the right called TablePress Sample, you can see that it will load a table from my other table plugin that I use, but note that the JavaScript library features then do NOT work, like sorting, filtering, etc. So far it seems the workaround there is to abandon or disable those features and load a static table, but it does load on the tabbed page. Hopefully that helps provide some context.

    Maybe I am doing something wrong that is very simple. Any help is appreciated. I am certain that others who want to build a technical documentation website like me may want to load your tables on tabbed pages.

    I love your stuff! Nice work.

Viewing 2 replies - 1 through 2 (of 2 total)