• Resolved rucindrea

    (@rucindrea)


    Hi,

    I’m trying to understand if it’s possible to interpret HTML tags from the Google Spreadsheet so they are correctly shown within the table in the plugin.

    What I’m trying to do is add a “<img src=”url” alt=”some_text”>” in on of the Google Spreadsheets and have that actually show up as an image on the website, in the table.

    Is that in any way possible?

    https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Meitar

    (@meitar)

    No.

    Thread Starter rucindrea

    (@rucindrea)

    Thanks for the quick reply.

    I’ve commented out the esc_html part from the td processing and it now works as I want it to. Is there any risk to that?

    Thread Starter rucindrea

    (@rucindrea)

    Ah I now see that you added a link.

    Here’s my reason: I want to add pictures to each of the items in the table and I can’t think of any other way to do that than to add HTML tags to display them. I am using the spreadsheet to display an inventory of items so I want each item to display a picture of it with a link to more details.

    Plugin Author Meitar

    (@meitar)

    Yes, there’s some risk to that.

    You’re trying to use the spreadsheet like an index webpage with a navigation bar, but that’s not what spreadsheets are for. There are many other plugins for inventory/ecommerce, use those. There are also many ways to create navigation between items in WordPress without a plugin, or to add pictures to pages with tables/spreadsheets embedded next to the images.

    For instance, you could insert a picture of a single item in your WordPress page and then embed a spreadsheet with data specifically about that item.

    As I’ve said before, using spreadsheets for your website’s layout is a misunderstanding of what spreadsheets are for.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘HTML inside the Google Spreadsheet cells’ is closed to new replies.