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
Thank you for your reply TobiasBg.
I will look into that.
big thanks for your time
daLegsman
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.
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.
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!