• Resolved dwevan

    (@dwevan)


    Hi,

    First of all, thank you so much for the brilliant plug in, its fantastic.

    I’m having a bit of an issue however with adding a modal window into an event with the ‘the events calendar’ plug in.

    This is mainly because I cannot see the easy modal loading box that is usually present in the edit page view. I also cant find it on screen options.

    Is there any way to add the modal without having to use this?

    Thanks

    http://wordpress.org/plugins/easy-modal/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    You could set the site wide option for that modal to on. This will cause it to load on all pages. If that isn’t really necessary then i will add a filter allowing you to add more post types to the editor..

    It is something i have been meaning to add anyways.

    Something like this in your themes function.php would work after the update.

    add_filter('em_post_types', 'my_cpts');
    function my_opts($post_types)
    {
        $post_types[] = 'my_custom_post_type';
        $post_types[] = 'event';
        return $post_types;
    }
    Plugin Author Daniel Iser

    (@danieliser)

    Ok just pushed an update. You should soon see v1.2.2 in your dashboard. Add the above function to your themes functions.php and adjust it as needed.

    Please take a moment to rate and review the plugin and/or service at http://wordpress.org/support/view/plugin-reviews/easy-modal

    Thread Starter dwevan

    (@dwevan)

    Putting sitewide worked for me 🙂

    But I will try adding the code.

    Thanks for a quick response 🙂

    Plugin Author Daniel Iser

    (@danieliser)

    Not a problem. One thing about sitewide is that it is gonna load that modal in the footer ( hidden ) on every page, this may not be a major issue if you are using that modal on more pages than not.

    Please take a moment to rate and review the plugin and/or service at http://wordpress.org/support/view/plugin-reviews/easy-modal

    Easy Modal really seems to fit the bill for a site I am working on.
    I am feeling really challenged by my inability to get it to work.
    I’ve added the modal class to an image that I want it to trigger the modal
    when I click on it and it doesn’t trigger. I tried attaching the class to the img tag and also in an anchor around the image using.

    I’m looking every where on line to see if I can find where another dummy like me got hung up and got help but am at a loss.

    I thing maybe there is a conflict with some other jQuery I am running? Not even sure what else to as to get things working.
    Thank you in advance for any assistance you might provide. I am excited about getting this plugin working for me.

    Okay! Got it working when I turned on “load to every page”.
    I guess I just need to figure out how to get it loaded on just the page I am working with for the particular modal.

    Really liking the way the plugin works when it is showing up. Great work on this. I tried to create this effect in jQuery but my solution wasn’t nearly as elegant and I didn’t have time to get it this polished.

    Plugin Author Daniel Iser

    (@danieliser)

    Glad you got it working and thanks for the positive feedback.

    If you need it on one page just use the shortcode [modal id=Test]content[/modal]

    If you need it on multiple pages then create a modal and edit each page you want it on. Below the content editor will be an Easy modal settings section where you can choose which modals you want loaded on that page. If a modal is marked site wide it won’t show up in this list.

    Please take a moment to rate and review the plugin or support. Thanks. http://wordpress.org/support/view/plugin-reviews/easy-modal

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘No easy modal box’ is closed to new replies.