When I first started to add affiliate links to my site, I've learned that I need to have an affiliate disclaimer and that it should be easily visible for the user. So I've started to search Wealthy Affiliate for a guide on how to do that. After a short search I've found this training by Trish (Triblu)

Trish uses a plug-in that creates a nice button which you can place on posts where you have affiliate links. But I don't like to use plugins for simple things that I'm able to code. I feel it as a waste of plugin space, so to speak:)

I knew how to add a simple html link but it wasn't good enough because:

  1. simple text link at the top of the content doesn't look very good


  2. this is a big one - text snippet (Description in All in One SEO plugin) that is displayed in google search contained the text from the link


Point 1 was easily fixed by styling the link to look like a button, but the point 2 was still a problem so I had to find a another way.

And in this training I will share with you what I've found. Hope you'll find useful:)



Join the Discussion
Write something…
Recent messages
Matinki Premium
How do I edit mine to open a new page mine not opening a new post here is the short code>>


<div class="wp-block-button">CHECK AMAZON PRICE</div>

How do I edit this to open a new window?

Thank you
Reply
keishalina Premium
hey hi Martin -- all questions are good ones!

just so you know, your question landed in the awesome WA community for response and here we are ....

Marek is likely quite busy and surely, she'll reply when she gets a moment ...

all the best to you, cheerio ... :)
Reply
Matinki Premium
Thank you for the feedback.
Reply
sheikave Premium
Wow it is great when we have some coding skills.
Reply
LouisaB Premium
This was awesome Marek, thank you for compiling and sharing this training.
Reply
MarekO Premium
Thank you Louisa:)
Reply
bigrog44 Premium
Thanks for sharing, Marek.
Reply
PatrickM1 Premium
Hi Marek - Nice training. Thanks for putting this together.
Reply
Top