WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Accordion Menu Widget
[resolved] conflict with Responsive theme or WP 3.5? (8 posts)

  1. peteratomic
    Member
    Posted 1 year ago #

    Not sure which is the issue.

    Been through everything on the forum here plus all the FAQ pages on the developer site and can't figure it out. Submenus don't expand like an accordion, but show up as regular drop down menus:

    http://www.smileyjohn.com/contact/

    http://wordpress.org/extend/plugins/jquery-vertical-accordion-menu/

  2. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    It has been fully tested with WordPress 3.5.

    Sounds like your theme styling is interfering with the accordion plugin. Check with your theme developer.

  3. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    @remix4 not to sound too over-protective, but your plugin is compatible up to: 3.4.2, please bring your plugin compatibility first, than we can talk Responsive Theme issues, if there are some.

    It's easy to blame on the Theme, without asking what kind of issues @peteratomic has.

    At the same time @peteratomic please post anything you might have on http://themeid.com/forum/ and we'll take care of it, even if this is a plugin issue, that's what we do all day every day anyways :)

    P.S. Also, don't close as resolved when this wasn't resolved at all!

    Thanks,
    Emil

  4. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    @emiluzelac please read my reply correctly - It IS compatible with 3.5!

    Also read the title of the post from the user

    Thank you

  5. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    @peteratomic I tested the theme and it is indeed the theme causing the problem - it's css positions all sub-menus absolutely, which will kill the accordion action.

    You can change the menu class using the "menu class" option in the widget settings but there are still some issues with the theme interfering with the css, which you will need to check with the theme developer.

  6. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    On the main page of your plugin it says:

    • Compatible up to: 3.4.2

    Plugin includes the jQuery directly:

    wp_enqueue_script( 'jquery' );

    First, jQuery does not need to be enqueued directly, it should be in array, second, plugin must check if there's jQuery before making a call. If Theme includes a jQuery and plugin does the same, there will be two jQueries instead of one.

    See:
    http://codex.wordpress.org/Theme_Review#Including_Stylesheets_and_Scripts
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Thanks,
    Emil

  7. ashishverma.pu
    Member
    Posted 1 year ago #

    You both are awesome developers, And people won't like all this going on above. Please work together in finding a solution.

    Great Theme
    +
    Great Plugin
    =
    Awesomeness.

  8. remix4
    Member
    Plugin Author

    Posted 1 year ago #

    using:

    wp_enqueue_script( 'jquery' );

    is exactly how you do add jquery to the page in order to ensure that only one copy is used - thats the point of the function.

    Please do not state supposed "issues" that are completely unrelated to the problem - this only confuses users. My earlier replies already provide the correct response!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic