Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Sugar Modal Windows Plugin

Posted on August 15, 2011 by Pippin in Design, Plugins, Premium, Utilities 218 Comments
Home» Plugins » Design » Sugar Modal Windows Plugin
preview-image (1)
Tweet
Love It - 9

Sugar Modal Windows provides an easy-to-use interface for creating Modal popup windows for your WordPress powered website.


The Modal Windows are powered by slick jQuery transitions and are fully compatible with all modern browsers and IE 7-9.

Modal Windows created with this plugin can contain any kind of information, including text, audio, video, shortcodes, etc.

Your options are limitless! With 13 configurable options for every modal, there are literally thousands of different modal windows you can create.

Use them to show off privacy policies, banner ads, portfolio images/videos, miscellaneous information, additional details, and anything else!

Live Demos

Example Text Modal Window

Adipiscing hac auctor lacus ac purus hac phasellus turpis tincidunt tincidunt porta massa, mus augue, in. Ultricies lundium, mus, rhoncus urna et natoque! Ac. Porttitor augue etiam mattis augue! Amet urna nunc, placerat aliquet nascetur placerat, tristique aliquet. Platea elementum augue nisi cum facilisis sit, ac arcu eros? Sociis ac.

Aliquam natoque integer! Natoque! Placerat? Augue nunc enim nisi? Lacus porta, pulvinar, urna parturient, quis cras et habitasse dolor enim lundium. Aliquet adipiscing hac, a odio ridiculus mattis ut et turpis! Magnis cum dis dapibus mid ultricies phasellus etiam in a elit et in nunc. Et tincidunt elit, aliquet.

Porttitor magna magna, dictumst a pellentesque egestas, turpis ultrices. In urna placerat pulvinar pid pellentesque egestas, purus ac integer, placerat, augue ac lorem, facilisis turpis, tempor platea? Porta parturient, sociis, et? Massa auctor vel pellentesque sed ut? Dictumst tempor! Pulvinar, elementum turpis, purus? Aliquet urna adipiscing porta ultricies amet.

Text Modal

Modal Example with Video

Video Example

Large with Text and Image

Integer rhoncus scelerisque habitasse. Eros auctor? Vut vut nascetur pulvinar. Diam augue aenean ultrices tortor, pulvinar mus augue, ac cursus integer, tincidunt porttitor ultrices! Porta ultrices ultrices augue in auctor massa natoque magna facilisis nisi! Eros enim turpis est dolor rhoncus vel diam etiam elit scelerisque purus. Tincidunt, quis pellentesque.

Augue. Elit elementum! Dolor in placerat mid nisi integer montes ridiculus porta! Scelerisque, cum mus, pellentesque mus dignissim adipiscing. Vel magnis et. Tincidunt tortor habitasse risus tincidunt? Cursus nec diam cum tortor magna, augue cursus platea? Tempor placerat sit, magna? Nisi, rhoncus lundium nunc porttitor nisi, porta, mid habitasse.

Nisi pulvinar odio. Arcu cum duis dis, cum hac. Cursus mauris, lectus eu vut aenean dignissim! Sed pulvinar? Massa, ac aliquam dictumst augue montes nec? Cum enim ac magnis! Duis, sed integer ridiculus cras nunc! Aliquam aenean lundium lundium urna augue aliquam sed? Quis facilisis, turpis, ut! Est nisi.

Text and Video

This Modal is Opening with Plain Text

Montes augue velit etiam lectus augue cursus scelerisque augue porttitor ut hac penatibus et hac est integer diam diam, tortor cras lorem quis mauris! Parturient! Et, etiam? Proin integer dapibus, lundium amet purus, auctor mus massa tempor, a? Turpis, pid augue lundium augue vut scelerisque nec lorem phasellus! Facilisis nisi.

Adipiscing dictumst massa lacus porta dignissim sagittis eu nunc? Tincidunt, scelerisque integer! Sagittis, facilisis elementum, odio ut ac a lorem tristique sit tincidunt lundium in et mattis nec quis tristique porttitor sit tristique et tincidunt nunc. Ut porttitor elementum, dictumst lectus est adipiscing lectus augue! Sed sagittis sagittis. Est.

Amet, urna placerat rhoncus? Non ut enim! Est adipiscing, in ultrices eu sagittis placerat etiam turpis pulvinar mattis montes, penatibus non. Massa rhoncus vel dolor ridiculus elementum amet? Nec et et amet! Dolor mauris augue amet turpis in scelerisque, dignissim adipiscing, nascetur, platea! Platea arcu proin ultricies risus enim.

Plain Text

Video Demonstration

Features

  • 13 options to configure per modal, plus modal title and content
  • Create modals with the WordPress post editor
  • Display any kind of content
  • Display Options:
    • Modal Width
    • Popup Speed
    • Display Modal Title
    • Display a close button
    • Window Transparency
    • Site Overlay Opacity
    • Modal Border Color
    • Border Size
    • Border Roundness
    • Title Bar Background Color
    • Title Text Color
    • Content Background Color
    • Content Text Color
  • Display Modal Windows with Short Codes
  • Easily Insert Short Codes Through Tiny MCE Short Code Builder
  • Two “Open Modal” Link Styles: Button and Plain Text
  • Three “Open Modal” Button Sizes
  • Seven “Open Modal” Button Colors
  • Inline Help Documentation
  • Extensive Help Page
Download
Tweet Follow @pippinsplugins
jquery, modal, post types

218 comments on “Sugar Modal Windows Plugin”

Comment navigation

← Older Comments
  1. Melanie says:
    February 12, 2013 at 10:31 pm

    I think it could be a browser issue, FF is fine, even in IE it shows up fine, without the rounded corners though. I’ll try uninstalling/re-installing Chrome. I havent tried on Opera and Safari.

    Great site and awesome plugins you have Pippin. Keep up with the awesome work.

    Reply
  2. Sven says:
    February 20, 2013 at 6:31 pm

    any way to make this thing work with JW player plugin and image slider plugin??
    I was so excited for this great plugin, but what I want it to do won’t work…

    Reply
    • Pippin says:
      February 20, 2013 at 9:45 pm

      Unfortunately JW Player doesn’t work inside of the modals, sorry.

  3. Tracy says:
    February 27, 2013 at 1:55 pm

    Is there a way to make this plugin work in the following way?
    –>The popup appears when a user visits a page for the first time that day. To close the popup they have to click a button in the popup that says something like “I agree”, to get them to acknowledge a copyright notice?
    Thanks for the help!

    Reply
    • Pippin says:
      March 2, 2013 at 4:39 pm

      Yes it will work that way, though there isn’t anything that would prevent them from viewing the page if they disagreed.

    • Tracy says:
      March 2, 2013 at 6:39 pm

      How would the button which closes the popup need to work? Just make it a link to the page that the popup is on or is there a way to code a “close” button. Just bought the plugin btw :)

    • Pippin says:
      March 4, 2013 at 9:00 pm

      You can simply do:
      [close]Close Text[/close]

  4. Dave Roland says:
    March 4, 2013 at 2:02 pm

    Will this work if I want to have each individual Post or Page configured to open as a popup when clicked? For example, when a user searches my blog, and relevant posts are returned, when they click on an individual post, can the post content (video) open in a popup?

    Reply
    • Pippin says:
      March 4, 2013 at 2:35 pm

      No, sorry.

  5. MaciekRyd says:
    March 12, 2013 at 8:05 am

    Hi,
    For some time modals are being displayed top-left aligned…
    Would you please advise?
    E.g. after you enter my website click “What can we do for you?” on the left margin in Login section (you may translate it into English first :-) ).
    Thanks,
    Maciej

    Reply
    • Pippin says:
      March 12, 2013 at 4:12 pm

      I need a link to your website please.

    • Maciek says:
      March 12, 2013 at 4:40 pm

      Hi,
      Regarding the ‘strange’ alignment of dialogue…

      http://www.softdesk.pl

      Thanks in advance!
      Maciej

    • Pippin says:
      March 13, 2013 at 6:26 pm

      I don’t see the modal on that page, can you point it out?

  6. David McCarthy says:
    March 14, 2013 at 3:58 pm

    Hi.
    Just rebuilding our website. Email signup form used to display in a lightbox, but this isn’t working with WP 3.5.1
    The form code is from a emailing service provider, so pretty standard stuff.

    Can I put this form code in a Modal? I also have a button … can this still be used to activate the Modal?
    Would rather check these out before buying!
    Many thanks.
    David

    Reply
    • Pippin says:
      March 14, 2013 at 8:19 pm

      Can you show me the code you need to use? Some embed code does, some doesn’t.

    • David McCarthy says:
      March 15, 2013 at 2:51 am

      Hi Pippin. This is the complete code, currently shown in a sidebar (using Page-in-widget), but it doesn’t work as a normal page either. We’d like to retain the position of the button in the sidebar. Is this enough for you to go on?
      Thanks
      David
      ******************************
      [formlightbox_call title="WORD-right newsletter sign up form" class="4"][/formlightbox_call]

      Complete this form to receive WORD-right’s monthly newsletter, and your free Introduction to Twitter.

       

      After you confirm your subscription, your Twitter Guide will be sent with the welcome email.

      [formlightbox_obj id="4" style="padding: 10px;width:470px"]

      Please complete this form to receive WORD-right’s monthly newsletter, and
      your free Introduction to Twitter.

      After clicking the ‘Submit’ button, you will recieve an email which
      contains your ‘confirmation’ link. Once your subscription is confirmed,
      your Twitter guide will be sent by email.

      E-mail address:
      *

      First name:
      *

      Last name:
      *

      Company:

      Country:
      UK Europe Rest of the world

      (red stars * indicate compulsory fields)

      [/formlightbox_obj]

    • Pippin says:
      March 15, 2013 at 3:43 pm

      Can you paste that to snippi.com and then share the link? Some of the code formatting got screwed up.

  7. Russell Davies says:
    March 19, 2013 at 2:43 pm

    Can you have more than one modal window working on a single page? For example, if I had a number of products on a page and wanted to have a modal window for each one, is that possible?

    Reply
    • Pippin says:
      March 20, 2013 at 12:04 am

      Yes you can!

  8. Marc Fest says:
    March 27, 2013 at 11:41 am

    At http://www.messagehouse.org/temp you can see a plain link modal (“organizations all around the world”). For some reasons it creates an unwanted line return. Is there a way to avoid this? Thank you.

    Reply
    • Pippin says:
      March 27, 2013 at 5:14 pm

      No sorry, that’s unavoidable.

  9. Marina says:
    April 7, 2013 at 5:46 pm

    Hello, just bought the plugin, it seems fine with wide configuration settings easy to set. I use it for contact form, so when finishing filling all fields and pressing “Submit” button, the window close automatically, even if some required fields are not filled. If the user clicks the Contact button again, the pop-up window show him red marked fields that needed to fill. Off course, such messages will be not delivered.
    Is it possible to keep the form up while user get the approval information, that his message was send successfully. If not, maybe it will be possible to stop the window close automatically, so user would see the message and close it manually.
    Thanks.

    Reply
    • Pippin says:
      April 8, 2013 at 4:44 pm

      That is only possible if the contact form is submitted with ajax (meaning the page doesn’t reload).

  10. Silva says:
    April 8, 2013 at 3:01 am

    Hi,
    I’ve installed your Sugar Modal plugin to add multiple modals to one page, but I’m running into a number of problems that I can’t seem to solve:
    - I’ve added the modal code to images so that when a user clicks the image, a modal shows with an additional image and text.
    - However, all modals appear double: one smaller sized modal overlaying a bigger sized modal
    - Plus, the close button (x in the upper right corner) only works when clicked 10+ times.

    Any idea what could be wrong?

    Reply
    • Pippin says:
      April 8, 2013 at 4:45 pm

      Multiple different modals, or multiple of the same one?

    • Silva Tensen says:
      April 9, 2013 at 3:49 am

      I’m using multiple different modals. I see to have fixed the double occurence of the modals (one of my slugs was wrong), but the problem with the close buttons still persists.
      Here’s the code I’m using:
      [modal name="Heineken souvenirs"][/modal]

      The modal is called “Heineken souvenirs”, the slug is “heineken-souvenirs”.

    • Pippin says:
      April 10, 2013 at 7:39 pm

      If you place [close]Click me[/close] inside of the modal, does it work?

  11. Su says:
    April 10, 2013 at 10:05 am

    love the sugar modal but could you advise as to how I make it mobile friendly, as on iphone it doesn’t fit to size, is there a way to do this so it automatically scrolls to size on phones.

    Reply
    • Pippin says:
      April 10, 2013 at 7:38 pm

      You will have to tweak the CSS yourself.

  12. Tom Meese says:
    April 11, 2013 at 3:30 pm

    Hi,
    Is is possible to have the modal only close by using the close button? It seems that if the user clicks anywhere outside of the modal, the window disappears.

    Thank you.

    Reply
    • Pippin says:
      April 11, 2013 at 10:24 pm

      No, sorry.

  13. Tyler says:
    April 13, 2013 at 2:44 pm

    Is it possible to use this to create a popup of an example webpage written in PHP or Javascript?

    I teach PHP and Javascript and I’d like for my students to be able to click on an assignment and see an example of the finished assignment. So for my PHP class I’d like them to be able to click on an assignment where they create a form, and see the finished form in a modal window. Is tis possible or will the PHP conflict with WordPress?

    And what about Javascript? Could I show JavaScript code examples in this modal window?

    If not, is there some other plugin that you’d recommend?

    Thanks!

    Reply
    • Pippin says:
      April 13, 2013 at 9:08 pm

      No, sorry.

  14. Damien says:
    April 19, 2013 at 3:10 am

    For some reason I cant seem to get the plugin to work. It also stops me from navigating to the visual tab on all pages and posts whilst activated.

    Reply
    • Pippin says:
      April 19, 2013 at 9:49 am

      What version of WordPress do you have?

  15. Jacqueline says:
    April 29, 2013 at 7:24 pm

    When someone signs up for my email list, they are directed to the usual thank you page. Is there a way to call up a modal with the thank you rather than take them to another page? I like the idea of being able to keep them on the current page.

    Thanks
    Jacqueline

    Reply
    • Pippin says:
      April 30, 2013 at 3:09 pm

      No, sorry.

  16. Fard Johnmar says:
    May 2, 2013 at 6:36 am

    Hello. Not sure if this question has been asked already, but can the buttons themselves be styled via CSS globally? We’d like to make the default button styles align more closely with our theme.

    Reply
    • Pippin says:
      May 2, 2013 at 2:46 pm

      Yes you can!

    • Fard Johnmar says:
      May 2, 2013 at 2:49 pm

      Pippen:

      Can you send a link to directions o how to do this? I need to send this on to our developers.

    • Pippin says:
      May 2, 2013 at 2:52 pm

      If your developer is comfortable with CSS, they won’t need any instructions at all.

  17. Tina says:
    May 16, 2013 at 5:00 am

    Hello there,

    Currently, I’m using sampression theme and I’d like to know whether it’s possibleor not to use this plugin to open post (including all the content of the post e.g. the image, the comment etc) in a modal window from homepage ( the idea is similar to pinterest ) without having to go to the post page?

    Regards,
    Tina

    Reply
    • Pippin says:
      May 17, 2013 at 3:05 pm

      No it’s not, sorry.

Comment navigation

← Older Comments

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

  • Use wp_localize_script, It Is Awesome
  • Create a Live Search in WordPress with jQuery and Ajax
  • Loading Scripts Correctly in the WordPress Admin
  • Review: Cudazi Scroll to Top
  • Filter Posts by Custom Taxonomy in Admin

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Submitting Your First Pull Request to a WordPress Plugin on Github (2)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

  • Plugin Development 101 – Intro to Loading Scripts and Styles (16)

    In this part of Plugin...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • @JS_Zao Woo! I just need to work harder :P
    May 22, 2013
  • @paul_wp I will look into it, thanks @eddwp
    May 22, 2013
  • RT @tnorthcutt: This is your regularly scheduled reminder to use `git add -p`. Increasing sanity since 2005.
    May 22, 2013

Topics

meta box hook add_shortcode Tom McFarlin get_user_meta featured wp_enqueue_script the_content shortcodes add_options_page campaign monitor contextual help Rémi Corson plugin do_action mail chimp login forms authors short codes attachment Related posts image apply_filters post types bbpress comments recent posts taxonomies short code custom post type images gallery Ajax Stripe taxonomy jquery widgets users add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2011 Pippin's Plugins