• Resolved topry

    (@topry)


    First, thank you for this excellent plug-in. It works very well.
    I am using a file manager plug-in (Download Manager) which uses custom shortcodes to create a download image/link. Their format is {filelink=1} and I would like that to be in one column.

    In your table-
    Column 1 would be a descriptive name, Column 2 would be the shortcode for the file link. Using just the shortcode displays it as text, trying to embed it within a link does not work either.

    Can you advise if this is possible in your table?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    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', 'wpdm_downloadable' );

    Just paste that into the “functions.php” in your theme, and the plugin’s Shortcodes will work in tables.

    Best wishes,
    Tobias

    [Note: A previous version of this answer contained the wrong code. Sorry about that. Not it should be correct.]

    Thread Starter topry

    (@topry)

    Thank you Tobias for the immediate reply – that did the trick!

    Regards,

    Tim

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Jim,

    thanks for the confirmation! Great that this worked!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using shortcode for another plugin in column’ is closed to new replies.