So I’m adding an elementor template shortcode into the page header content area. Inside the elementor template is a shortcode for a stripe button. When I view the elementor template the stripe button is working fine.
When I insert the elementor template into the page header content area and view that page I see the elementor template displaying into the page header area as it should however the stripe button shortcode is showing the shortcode text instead of the button. i.e. instead of a button I see something like this [stripe][stripe_subscription id=”business-plan” image_url=”/image.png”][/stripe]
It’s like the shortcode isn’t be parsed within the page header.
FYI the text element is actually a bit fiddly… sometimes it’s not working with shortcodes which is why I choose to use the HTML element as the text element adds p tags etc and messes up the shortcode. Took a bit of playing around to get it working. I had to change from paragraph to header and back to paragraph and then copy the shortcode into the text area (not the visual area). Very temperamental, so many look into this problem anyway even though I’ve ‘resolved’ it…