• Hello, is it possible to use the “wp-table-reloaded” shortcodes in other plugins, especially in the “ndizi-project-management”? I tried to add:

    add_filter( 'wp_table_reloaded_cell_content', 'ndizi-project-management' );

    in the functions.php of the theme, but that doesn′t work, perhaps one of you have an idear.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    just to clarify: Do you
    a.) want to use a Shortcode from WP-Table Reloaded (like [table id=1 /] in that other plugin, or
    b.) use the Shortcode of another plugin in WP-Table Reloaded?

    For a.): This would require a change in the other plugin, i.e. it needs to support WordPress Shortcodes in its content.
    For b.): If hte other plugin’s Shortcode is implemented via the regular WordPress Shortcode API, the Shortcode will automatically work in tables of WP-Table Reloaded. If it is not, some code similar to what you posted is necessary.

    So, what are you trying to do, a.) or b.) ?

    Regards,
    Tobias

    Thread Starter torsten-wld

    (@torsten-wld)

    Hello Tobias,
    thank you for your quick answer. I want to use [table id=1 /] in the plugin – a.
    Is it complicate to change plugins that those support WordPress Shortcodes, or is it different form plugin to plugin?
    Thank you and kind regards
    Torsten

    Hi,

    thanks for the clarification. In that case, the other plugin needs to be modified. Unfortunately, this is indeed different for every plugin, so you might want to contact the other plugin’s author.
    He will have to add a call to do_shortcode(); to the output logic of the plugin.

    Best wishes,
    Tobias

    Thread Starter torsten-wld

    (@torsten-wld)

    Hello Tobias,
    thank you for explaining. I will contact the author, perhaps it is planed or easy to integrate.
    Thank you
    Kind regards
    Torsten

    Hi Torsten,

    sure, no problem! You are very welcome!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp-table-reloaded – Possible to use shortcodes in other plugins’ is closed to new replies.