• Resolved legsman

    (@legsman)


    One of the most useful plugins I have used in a long time.

    I am interested in using a particular shortcodes from (Contact Form DB) plugin.
    Can the Tablepress plugin handle shortcodes like these.
    we are using your plugin on other page – working perfectly.

    big thx – great plugin

    daLegsman

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    If that other Shortcode uses the regular WordPress Shortcode API, using it inside a table should not be a problem.
    Depending on how it works, you might have to turn off the TablePress output caching, by extending the used TablePress Shortcode to

    [table id=123 cache_table_output=false /]

    Regards,
    Tobias

    Thread Starter legsman

    (@legsman)

    Thank you for your reply TobiasBg.

    I will look into that.

    big thanks for your time

    daLegsman

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Hi Tobias, I am running into a similar issue. I too have set the cache to “false” and it did fix my shortcode display problem i.e. [DAP]CONTENT[/DAP] however when I try and use their merge tags like %%FIRST_NAME%% it’s not rendering. It renders fine outside of the table but when I put it in, it doesn’t work. Here is the plugin I am using DigitalAcessPass http://digitalaccesspass.com/doc/merge-tags-in-wordpress-posts/

    Any ideas? Thanks.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this likely is that that other plugin is using a custom method to search for these tags, probably using a filter hook on the_content. You’d have to try and find that code (it will look like

    add_filter( 'the_content', '...' );

    and then also apply to to table cells, by adding the modified

    add_filter( 'tablepress_cell_content', '...' );

    to your theme’s “functions.php”.

    Regards,
    Tobias

    That worked perfect, I needed to add:

    add_filter(‘tablepress_cell_content’, ‘dap_login’);
    add_filter(‘tablepress_cell_content’, ‘dap_personalize’);
    add_filter(‘tablepress_cell_content’, ‘dap_personalize_error’);
    add_filter(‘tablepress_cell_content’, ‘dap_product_links’);
    add_filter(‘tablepress_cell_content’, ‘dap_personalize’);

    to my functions.php

    Thanks! Donation sent.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    And thanks for the donation, I really appreciate it!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

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

The topic ‘using shortcodes from other WP plugins with TablePress’ is closed to new replies.