• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis 3 beta

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Genesis 3 beta

This topic is: not resolved
  • This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by Nick.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 7, 2019 at 5:08 pm #491530
    mmjaeger
    Member

    hello
    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">
    <form>
    <div id="mc_embed_signup_scroll">

    test

    </div>
    </form>
    </div>';'

    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.

    Thanks

    June 8, 2019 at 2:36 am #491536
    Victor Font
    Moderator

    Genesis doesn't filter your shortcodes. If anything is filtering your shortcode, the most likely culprit is WordPress.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 8, 2019 at 4:43 am #491541
    mmjaeger
    Member

    Thanks Victor

    I'm using the very same shortcode in GeneratePress and it works just fine - this is really weird

    June 8, 2019 at 1:47 pm #491545
    mmjaeger
    Member

    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?

    June 8, 2019 at 2:01 pm #491546
    mmjaeger
    Member

    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 );

    echo $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?!

    June 11, 2019 at 5:24 am #491569
    mmjaeger
    Member

    bump

    June 11, 2019 at 7:12 am #491574
    Nick
    Participant

    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.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble