Your cart is currently empty!
A Shortcode to show only the paypal email
—
by
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 ?
Comments
One response to “A Shortcode to show only the paypal email”
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