Hi @presson2022
In s2’s paypal button’s shortcode, you have a couple attributes that could help with that: output, and image. WP Admin > s2Member > PayPal Buttons > Shortcode Attributes Explained
image="default"
Button Image Location. Possible values: default
= use the default PayPal Button, http://...
= location of your custom Image.
output="button"
Output Type. Possible values: button
= PayPal Button w/hidden inputs, anchor
= PayPal Button ( <a> anchor tag ) URL w/ ?query string, url
= raw URL w/ ?query string.
🙂
Sorry but not the same. What you just typed is for a shortcode that produces a clickable text link. That’s not what I’m asking. I’m asking for a URL for a button. You can’t put a shortcode on a button. You have to put an actual URL on the button. I have custom buttons already defined so I’m in search of a URL and not a shortcode.
In your s2Member shortcode for PayPal buttons, you’d use that output=”url” attribute, so that it outputs a URL. If your custom button takes wordpress shortcodes, you’d put the shortcode there. See: WP Admin > s2Member > PayPal Buttons
🙂
So you’re saying that if I change this:
output=”button”
To this:
output=”URL”
It will show a URL? Because right now it doesn’t. It shows a dead shortcode.
URL is case sensitive but it’s still showing me a button. How do I get a URL out of it?
Could you show me the shortcode you’re using?
[s2Member-PayPal-Button level=”1″ ccaps=”” desc=”Bronze Member / description and pricing details here.” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”domain.com” ta=”19.99″ tp=”30″ tt=”D” ra=”0.01″ rp=”1″ rt=”M” rr=”1″ rrt=”” rra=”1″ image=”default” output=”URL” /]
Thanks.
I see you wrote “URL” in uppercase, and you mentioned the case in your other reply, but did you try it lowercase?
[s2Member-PayPal-Button level=”1″ ccaps=”” desc=”Bronze Member / description and pricing details here.” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”domain.com” ta=”19.99″ tp=”30″ tt=”D” ra=”0.01″ rp=”1″ rt=”M” rr=”1″ rrt=”” rra=”1″ image=”default” output=”url” /]
🙂