• This just a single page but the problem is consistent across all pages that I need search enabled for all table information. All plugins are updated. Using latest version of Edge browser.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Relevanssi expands shortcodes in the post content, including the TablePress shortcodes. Looking at the HTML source code of your page, the tables are inside page builder modules. That’s probably the cause of the problem – if the TablePress shortcodes are not in the post content, they’re harder to use.

    If you create a new page without any page builder features and just place a TablePress shortcode in the post content and then save the page, can Relevanssi find that page when you search for the table contents?

    Hi there,
    I have the same problem. I use

    • Oxygen Builder
    • Tablepress
    • Autoptimize

    and the content of the Tablepress tables ist not found. Could it be that the Oxygen Builder is the problem?

    Plugin Author Mikko Saari

    (@msaari)

    Likely yes. Are the shortcodes contained in post content, or in custom fields?

    In post content

    The page I need help with: https://2020.redcougar.de/fakten/ford-cougar-ausstattung/

    Plugin Author Mikko Saari

    (@msaari)

    Can you show me how that post looks like in the wp_posts database table?

    I′m not sure … you mean like this?

    Screenshot 1

    Screenshot 2

    Plugin Author Mikko Saari

    (@msaari)

    Yes, that. The post_content is completely empty there, so the post content is stored somewhere else. Likely in custom fields, and Relevanssi does not expand TablePress shortcodes in the custom fields.

    You can try adding this to your theme functions.php:

    add_filter( 'relevanssi_custom_field_value', 'rlv_tablepress_in_custom_fields' );
    function rlv_tablepress_in_custom_fields( $contents ) {
    	$tablepress_controller = relevanssi_enable_tablepress_shortcodes();
    	relevanssi_disable_shortcodes();
    	$contents = do_shortcode( $contents );
    	unset( $tablepress_controller );
    	return $contents;
    }

    Add this and rebuild the index.

    Unfortunately it does not work. Oxygen has a modular structure and the builder works with shortcodes itself.

    Plugin Author Mikko Saari

    (@msaari)

    Sure. All I know of Oxygen is that it goes pretty far from regular WordPress stuff, and it’s quite likely it’s just not possible make this work.

    Yes, obviously. Otherwise I am very satisfied with Oxygen and he will certainly spread more.

    Thanks anyway for your support!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Search not finding TablePress content’ is closed to new replies.