How to pull affiliate link from main post button?


In my website i have front page with product image. description followed by “Read More” button.
In my post i have written the product detail and below that i have created a button using shortcode and pasted my affiliate link in that.

I want to PULL that affiliate link from article into “Read More” button. So if someone click in “read more” it will redirected to affiliate link website.

Can someone tell me what is the code i can paste in my editor to do that job?


Sorry, I won’t be able to provide specific code. You can use Elementor for designing such web page.


its ok bro :slight_smile: i tried that but seems elementor does not support to my theme “wiral lite” :frowning:


Combination of these three things may help

  1. Multiple Themes Plugin
  1. Download Free Astra Theme, this theme free version works so well with Elementor. Other WordPress Expert also recommends GeneratePress, and OceanWP.
  1. Elementor