Site logo

[Resolved] Trying to add an Amazon affiliate ad without success.

Home Forums Support [Resolved] Trying to add an Amazon affiliate ad without success.

Home Forums Support Trying to add an Amazon affiliate ad without success.

  • This topic has 5 replies, 2 voices, and was last updated 3 years ago by Fernando.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2568129
    Craig

    I’m trying to add Amazon affiliate codes to my posts but it keeps stating block not supported. The code is below. Some say to use HTLM block or custom HTML block but I don’t have these in my block selection area. Any help would be awesome.

    <script type="text/javascript">
    amzn_assoc_tracking_id = "freesupe-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 = "B01K4CZOBS";
    amzn_assoc_placement = "adunit";
    amzn_assoc_linkid = "23ba22567f8bc15e81ba822b75347be4";
    </script>
    <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>
    #2568132
    Fernando
    Customer Support

    Hi Craig,

    A custom HTML Block is a WordPress Block. It should be there by default.

    See this for reference: https://wordpress.org/documentation/article/custom-html/

    Can you try disabling plugins to see if one of your plugins is causing this Block not to appear?

    #2568137
    Craig

    Fernando thanks for the super fast reply. I found the culprit, I’m using a GP Developer Child Theme I found it on github, and that’s what’s causing the missing blocks. I thought using a child theme was fine for doing my edits in functions.php etc.. Am I using the wrong one?

    Thanks!

    #2568151
    Fernando
    Customer Support
    #2568168
    Craig

    That fixed the problem. Man, I was trying to figure this out for hours, for it to be something so simple… Haha

    Thanks again for the fast replies, you are an asset to GeneratePres. I appreciate your help!

    -Craig

    #2568172
    Fernando
    Customer Support

    You’re welcome, Craig!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.