• Resolved Harold Callahan

    (@charlesduncan)


    Is there a way to place “custom HTML” code in a table cell? I am trying to insert the Amazon Affiliate code into the table. Here is the same of the code:

    <script type="text/javascript">
    amzn_assoc_tracking_id = "xxx-20";
    amzn_assoc_ad_mode = "manual";
    amzn_assoc_ad_type = "smart";
    amzn_assoc_marketplace = "amazon";
    amzn_assoc_region = "US";
    amzn_assoc_design = "enhanced_links";
    amzn_assoc_asins = "B01MRV5YNO";
    amzn_assoc_placement = "adunit";
    amzn_assoc_linkid = "7da6da928fa1515a327601a04de414e8";
    </script>
    <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>

    Thank You.

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This should work without issues, you will however either have to write this code all in one line (without manual line breaks), or you’ll have to use a modified Shortcode on the page:

    [table id=123 convert_line_breaks=false /]
    

    (with the correct table ID), to turn off the conversion of line breaks.

    Regards,
    Tobias

    Thread Starter Harold Callahan

    (@charlesduncan)

    Thanks, Tobias!

    I got it working!

    Great Plugin and Great Support!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

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

The topic ‘Custom HTML in Table Cell’ is closed to new replies.