• Resolved weupzz

    (@weupzz)


    I’m using tablepress to display product details in table format on my woocommerce.
    Example: I have a product page called “Fruit”, then inside the page I have a tablepress which displays like this

    Apple Name Price
    ———————
    Cali Apple $2
    Phil Apple $5

    So by typing “Cali” on the global wordpress search, it should return “Fruit” product as result. Is it possible to search inside the table for the content using wordpress global search?

    Thank you in advance and I really appreciate you sharing tablepress for free, it really helps me a lot ??

    https://www.ads-software.com/extend/plugins/tablepress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Now, by default TablePress does integrate into the global WordPress search, i.e. content in tables that is embedded into regular posts or pages is found, and the respective post/page is returned by the search.

    Now, I’m not sure why this is not working in your example. Are these prodcut pages regular pages, or do they use a “Custom Post Type”?
    Are you maybe using other plugins that affect/alter the WordPress search?

    Regards,
    Tobias

    Thread Starter weupzz

    (@weupzz)

    Hi Tobias,

    I am really glad you coming back so quickly. As for your question, I am using a product feature available by woocommerce. The thing is if I put the same content outside the Tablepress’s table, I am able to search for it. As for plugins, I’m not really sure as I bought the theme and have not install any other plugins except Tablepress ??

    Is it possible I accidentally disable the global search function when I created the tablepress table somewhere?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for the details!

    I have another test for you, please ?? :
    Please place a TablePress table in a regular WordPress page (no WooCommerce product), and search for a word in the table. Does that page then show up correctly?

    If so, that indicates, that the general search functionality for tables is working.

    Accidentally disabling the search when creating a table is not possible, so don’t worry. (It can be deactivated, but that requires code.)

    Regards,
    Tobias

    Thread Starter weupzz

    (@weupzz)

    Yes, when I put it on a regular post or page, it works nicely.

    This probably not the right place to ask, but is there a workaround for the problem? It’s a very crucial feature that I need for the website to work…I might need to go back to the painful wordpress table..which I’m trying hard to avoid.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ok, that means that WooCommerce Product pages have some custom handling then. Unfortunately, I have no experience with that plugin, so I don’t know what these customizations are and how to again integrate them with TablePress.

    I can offer to take a direct look at this on your site, but unfortunately, I can’t promise to find a solution. For that, please contact me via email (the address is in the main plugin file “tablepress.php”) with details to a temporary admin account.

    Regards,
    Tobias

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    just as a follow-up for everybody:
    We worked on this directly on weupzz’s site and found that moving the content from the excerpt to the post content fixed the issue ??

    Regards,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Enabling global content search’ is closed to new replies.