Affiliates Only! Affiliate Link for the current Page

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

3 Responses to Affiliates Only! Affiliate Link for the current Page

  1. George September 29, 2017 at 4:05 pm #

    You are welcome Tobias 🙂

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

    Cheers,
    George

  2. Tobias September 29, 2017 at 11:31 am #

    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. George September 18, 2017 at 5:21 pm #

    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

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share