WordPress.org

Forums

MailPress
[resolved] Lightbox jquery Conflict (4 posts)

  1. Nicola
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    Please can you be more specific.

    In which file do I change this?

  4. Nicola
    Member
    Posted 1 year ago #

    Nevermind I fixed this by adding

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

    to my header file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic