• 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 eNews Extended Shortening Leadbox Code

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 › Design Tips and Tricks › Genesis eNews Extended Shortening Leadbox Code

This topic is: not resolved

Tagged: Genesis eNews Extended, plugins

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 9 months ago by sstiavetti.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 21, 2016 at 12:22 am #187908
    sstiavetti
    Member

    I keep trying to paste the code for my Leadpages Leadbox into a Genesis eNews Extended widget, but the plugin is removing the bulk of the code, which causes the button and corresponding popup to not load correctly.

    Here's the code I'm pasting in:

    <a href="https://fearlessfresh.leadpages.co/leadbox/143948b73f72a2%3A141c4c10bf46dc/5648554290839552/" target="_blank" style="background-color: rgb(241, 98, 33); color: rgb(255, 255, 255); text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-size: 16px; line-height: 20px; padding: 10px; display: inline-block; max-width: 300px; border-top-left-radius: 20px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; border-bottom-left-radius: 20px; text-shadow: rgba(0, 0, 0, 0.247059) 0px -1px 1px; box-shadow: rgba(255, 255, 255, 0.498039) 0px 3px 3px inset, rgba(0, 0, 0, 0.498039) 0px 3px 3px; background-position: initial initial; background-repeat: initial initial;">CLICK TO JOIN MY LIST!</a><script data-leadbox="143948b73f72a2:141c4c10bf46dc" data-url="https://fearlessfresh.leadpages.co/leadbox/143948b73f72a2%3A141c4c10bf46dc/5648554290839552/" data-config="%7B%7D" type="text/javascript" src="https://fearlessfresh.leadpages.co/leadbox-1463597798.js"></script>
    

    Once I save the widget, this is all of the code that remains:
    <a href="https://fearlessfresh.leadpages.co/leadbox/143948b73f72a2%3A141c4c10bf46dc/5648554290839552/" target="_blank">CLICK TO JOIN MY LIST!</a>

    Since it's scrubbing the script, it's causing the popup to load on a new, blank page instead of on the current page. How can I get the plugin to stop doing this and respect the integrity of the code I entered?


    Fearless Fresh: I’ll turn you into a kitchen ninja.

    https://fearlessfresh.com
    June 21, 2016 at 6:55 am #187935
    Victor Font
    Moderator

    You should probably be using a text widget and not the eNews Extended Widget. It's not designed to do what you're trying to do.


    Regards,

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

    June 21, 2016 at 2:49 pm #187966
    sstiavetti
    Member

    Hrmm, ok. Good to know. Can you tell me what the limitations are of this widget so I know for the future?


    Fearless Fresh: I’ll turn you into a kitchen ninja.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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