Hi,
thanks for the question.
Yes, that is easily possible. The Download Manager plugin does not use the regular WordPress Shortcodes, but its own custom implementation, so all you need is one line of code:
add_filter( 'wp_table_reloaded_cell_content', 'Downloadable' );
Just paste that into the “functions.php” in your theme, and the plugin’s Shortcodes will work in tables.
Best wishes,
Tobias
Thread Starter
dydric
(@dydric)
Thanks for the quick reply.
The code works! =)
Hi,
great, thanks for the confimation!
Regards,
Tobias
Hi Tobias, nice work! Can’t seem to get shortcode from the Syndicate Press plugin to work inside a table. Assume the answer is similar to the above for the Download Manager plugin and the ‘Downloadable’ part needs to be changed but not sure what to change it to. Can you help?
Hi,
yes, you are correct. For “Syndicate Press”, you willl need a modified piece of code. Please try it with
add_filter( 'wp_table_reloaded_cell_content', array( &$syndicatePressPluginObjectRef, 'sp_ContentFilter' ) );
which you need to paste into your theme’s “functions.php”.
Regards,
Tobias
Thanks for the quick reply Tobias. This is the response I get when it’s added.
Fatal error: Call to undefined function add_filter() in /wordpress/wp-includes/functions.php on line 4559
Hi,
where exactly did you add this?
It is supposed to go into the “functions.php” in your theme folder, and NOT into the “functions.php” in the that “wp-includes” folder (which belongs to the core of WordPress)!
Regards,
Tobias
Thanks Tobias, my bad. Works like a charm!
Hi,
very nice! Great to hear that. Thanks for the confirmation!
Best wishes,
Tobias
What would I need to do to make the shortcode for the WP Calameo plugin work inside a wp-table-reloaded table? (The plug-in displays a mini-version of a publication, which links to a full screen viewer.)
http://wordpress.org/extend/plugins/wp-calameo/
Hi,
thanks for your question.
For WP Calameo, the necessary code in the functions.php is
add_filter( 'wp_table_reloaded_cell_content', 'calameo_parse' );
Best wishes,
Tobias