• Resolved lcapponi

    (@lcapponi)


    I am using the Text Hover plugin on a different site, and I wanted to use it on another site but it does not work with TablePress. I made a test page so you can see what I mean… I added a bit of text above the table that has Text Hover applied: http://tribalcon.com/test-table-page/
    If you find the same text in the table, it does not have the hover text. I posted this in the Text Hover support as well because I am not sure on what end it doesn’t work. Does TablePress have something similar that I could use?

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    It seems like the Text Hover plugin is not taking content that is generated by Shortcodes into account. To make that work for TablePress tables, please try adding this to your theme’s “functions.php” file:

    add_filter( 'tablepress_table_output', array( c2c_TextHover::get_instance(), 'text_hover' ) );

    Regards,
    Tobias

    Thread Starter lcapponi

    (@lcapponi)

    That didn’t seem to work unfortunately.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, then please try

    add_filter( 'tablepress_cell_content', array( c2c_TextHover::get_instance(), 'text_hover' ) );

    Regards,
    Tobias

    Thread Starter lcapponi

    (@lcapponi)

    Hm that didn’t work either. I am going to contact the theme support and let them know what codes you’ve given me. I will let you know if they come up with a solution.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, that will be the best solution then.

    Best wishes,
    Tobias

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

The topic ‘Text hover’ is closed to new replies.