WordPress.org

Ready to get started?Download WordPress

Forums

MailPress
[resolved] Lightbox jquery Conflict (4 posts)

  1. Nicola
    Member
    Posted 11 months ago #

    MailPress interferes with prettyphoto/lightbox jquery and also the function that allows to auto scroll back to the top of the page using a up button.

    I've tested all my plugins and these functions don't work when Mail Press is active.

    When it's activated I get this error " TypeError: jQuery(...).prettyPhoto is not a function
    social_tools: '' "

    When I deactivate Mail Press the error isn't there.

    http://stylereaction.com/review/vaseline-review

    http://wordpress.org/extend/plugins/mailpress/

  2. RENAUT
    Member
    Plugin Author

    Posted 9 months ago #

    if jQuery is already loaded by the theme

    and you are using MailPress::form()

    do like this

    MailPress::form(array('jq' => true));

  3. Nicola
    Member
    Posted 6 months ago #

    Please can you be more specific.

    In which file do I change this?

  4. Nicola
    Member
    Posted 6 months ago #

    Nevermind I fixed this by adding

    <?php if (class_exists('MailPress')) MailPress::form(array('txtbutton' => 'Join', 'jq' =>'1')); ?>

    to my header file.

Reply

You must log in to post.

About this Plugin

About this Topic