• Resolved myxmlcigar

    (@myxmlcigar)


    Hello,

    First, great plug-in!

    Is it possible to modify the plug-in to automatically insert a predefined set of images based on what is typed in a cell?

    Example: If I were to type “USA” into a cell, it would automatically include a 16X16 px icon of the US flag.

    thx.

    http://ww.wp.xz.cn/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question.

    Unfortunately, I don’t have an existing solution for this.
    The best approach for this would be to use one of the plugin filter hooks that are fired during the rendering process (like “tablepress_cell_content”) and modify their output, based on the current cell content.
    This will however require some custom PHP coding in a small new plugin.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Automatically add image based on cell text’ is closed to new replies.