Affiliates Only! Affiliate Link for the current Page

โ€”

by

Hello,

i am happy if i could use the id of the logged-in affiliate to add to current URL e.g. https://www.santegra-international.com/shop/?dis=ID
to show in a widget (for is affiliates only) on each page,
like this:
[affiliates_is_affiliate]
Your Affiliate Link to the current Page:
[affiliates_current_page]?dis=[affiliates_ID]
[/affiliates_is_affiliate]
So the affiliates login and grab the code from the page they want to promote.

best regards Tobias


Comments

3 responses to “Affiliates Only! Affiliate Link for the current Page”

  1. You are welcome Tobias ๐Ÿ™‚

    I’m not sure i understand what you mean. Can you please give me some more details?

    Cheers,
    George

  2. Many Many thanks to you George,

    installed, working and combined with pretty link shortener.

    One thing is different in my marketing, may others also use for compatibility issues a second page with a landing page software like OptimizePress.

    In my case this is the wordpress installation landing pages:
    https://santegra-international.com/kreisrunder-haarausfall-alopecia-areata-heit-ihr-problem/

    In my case this is the wordpress installation for shopping:
    https://www.santegra-international.com/shop/

    So on the “landingpage” wordpress installation i need to enter the domain where Affiliates Plugin is installed to get the ID of the affiliate and sure some of your code magic:
    https://www.santegra-international.com/

    Thank you very much,

    best regards

    Tobias

  3. Hi Tobias,

    I’ve created a custom shortcode you can use on your site here.
    The shortcode will display the current affiliate URL of the logged in affiliate. The snippet should be placed in the functions.php file of your child theme.

    I would suggest you to put the following block of shortcodes in the page(s) you prefer:
    [affiliates_is_affiliate]
    [affiliates_current_url]
    [/affiliates_is_affiliate]
    .

    Hope it helps you ๐Ÿ™‚

    Kind regards,
    George

Share