Site logo

Archived topic

Trying to add an Amazon affiliate ad without success.

5 replies · Started by Craig on March 15, 2023

Viewing posts 1–6 of 6

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>

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!

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

You're welcome, Craig!

This archived topic is closed to new replies.