A Shortcode to show only the paypal email

Posted in

hello, i’m looking for a shortcode to put in affiliate-area that will show only the paypal email atribute. i found this code on the forum: [affiliates_affiliate_profile show_attributes=”paypal_email” edit_attributes=”paypal_email”] – it dose the job but not quite, because its shows not only the paypal email but the first name, last name and user email – and on the affiliate area they are already there with this code: [affiliates_paypal_form]

[affiliates_fields]

and now i have duplicates first names user emails and last names.

i know what u are thinking why dont you delete the last codes -problem solved – no because the paypal code dosent include the user name.

sow how can i get on the affiliate area only:

first name
last name
user name
email
paypal email ?

One Response to A Shortcode to show only the paypal email

  1. Kento August 15, 2018 at 11:14 am #

    Hi,

    You were right on track with the [affiliates_affiliate_profile ...] shortcode, you just need to override the defaults which show the additional info that you don’t want to display. In this case:

    [affiliates_affiliate_profile show_name="" show_email="" show_attributes="paypal_email" edit_attributes="paypal_email"]

    You can use this below the [affiliates_fields] shortcode to have the field rendered and editable without having it show redundant fields already included.

    Cheers

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