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

    (@tobiasbg)

    Hi Mirko,

    I’m not exactly sure how you want this to work. Do you really want users to be able to use the [table id=123 /] Shortcode in comments?

    The best way to achieve this might then to run the WP Shortcode API on the “comment_text” filter hook, by adding

    add_filter( 'comment_text', 'do_shortcode' );

    Note however, that this would enable ALL registered Shortcodes and not just the WP-Table Reloaded Shortcode. Therefore, this should be handled with greatest care, and I don’t really recommend it!

    Why don’t you copy the static HTML code for the table into the comment?

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-Table Reloaded] Table in comments!’ is closed to new replies.