shortcode not processed on public site
-
Hello,
I am having a problem where the wp_paypal shortcode does not work on the public site; it does work fine when I am logged in to the site.
I am using a twentytwenetytwo child theme, and created a test page which contains a shortcode block containing a wp_paypal shortcode, a classic editor block containing the same shortcode, and a shortcode block with a caption shortcode as a comparison. For the admin user when logged in, I see both paypal buttons and the caption text. For the public site, when not logged in, I don’t see the button, but instead the literal “[wp_paypal attrs…]” text twice (so those shortcodes did not get processed), and the caption text (so that shortcode did process):
[wp_paypal button=”buynow” button_image=”https://site.com/wp-content/site/images/make-non-refundable-down-payment.png” name=”Non-Refundable Downpayment” amount=”308.70″] [wp_paypal button=”buynow” button_image=”https://site.com/wp-content/site/images/make-non-refundable-down-payment.png” name=”Non-Refundable Downpayment” amount=”308.70″] This is some textI also placed a wp_paypal shortcode in the footer via a shortcode block, and there again it shows for admin, but is completely empty for the public (it does not show the “[wp_paypal attrs….]” text).
Any ideas on this?
Thanks,
Jesse
The topic ‘shortcode not processed on public site’ is closed to new replies.