- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm playing around with the beta versions of Genesis and the Genesis Sample theme - I've a shortcode that puts a form into a footer widget area - however, the form element somehow doesn't show - it is filtered out?!
this is what I return in the shortcode:
'return '<div id="mc_embed_signup">
what shows in the rendered html are the div containers with the text "text" - the form tag doesn't show????
hope somebody has an idea what's going on.
I'm using the very same shortcode in GeneratePress and it works just fine - this is really weird
Installed the twentynineteen theme and the shortcode works flawlessly so I believe it certainly has something to do with either Genesis or Genesis Sample.
Hope somebody has some ideas?
now idea what the fix would be but I think I found the reason:
in the genesis footer.php file there is a function called genesis_footer_widget_areas - it returns the widgets like this:
//echo wp_kses_post( $footer_widgets );
commenting the first line and returning the $footer_widgets works - so we have to find a way to add the form as a valid html tag?!
Thanks for testing Genesis 3.0 during the beta, mmjaeger.
We have a fix for this issue to prevent
wp_kses_post being used on footer widgets that should be in the next beta, or in the release candidate.
© 2023 WPEngine, Inc.