• Resolved jnorell

    (@jnorell)


    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 text
    

    I 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

    • This topic was modified 3 years, 9 months ago by jnorell.
    • This topic was modified 3 years, 9 months ago by jnorell.
    • This topic was modified 3 years, 9 months ago by jnorell.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jnorell

    (@jnorell)

    Two other things, the development site where this happens is not public, and there is no caching (no plugins nor server-level).

    Thread Starter jnorell

    (@jnorell)

    Curious, this is working now, so marking this resolved. I don’t know of anything that was done (I closed the work day writing this cry for help, and noone has touched the site since then), other than maybe an automatic update of wordpress or another plugin in the mean time could have happened and been related. The server was also rebooted.

    Dunno, but thanks….

    The buttons on our site stopped working. We used images as buttons and they look like they are coded but aren’t clickable. It just all stopped working.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘shortcode not processed on public site’ is closed to new replies.