WordPress.org

Support

Support » Plugins and Hacks » WP Jump Menu » [Resolved] [Plugin: WP Jump Menu] Plugin does not work if wp-content is not in default folder

[Resolved] [Plugin: WP Jump Menu] Plugin does not work if wp-content is not in default folder

  • Hi,
    My content folder is outside of wp folder, I have define the constants WP_CONTENT_DIR and WP_CONTENT_URL. So the plugin is not installed in wp-content/plugin folder. This configuration doesn’t work with the plugin. On load I have three 404 errors :
    /wp-content/plugins/wp-jump-menu/assets/js/colorpicker/css/colorpicker.css
    /wp-content/plugins/wp-jump-menu/assets/js/jqueryfunctions.js?ver=3.3.2
    /wp-content/plugins/wp-jump-menu/assets/js/colorpicker/js/colorpicker.js?ver=3.3.2
    The content path used in these urls are wrong.

    Thanks for help!

    http://wordpress.org/extend/plugins/wp-jump-menu/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author James Krill

    @jkrill

    Thanks JiDaii,

    I’m updating the plugin right now. You should see an update sometime later today.

    Jim

    Thanks, I’m waiting for it!

    Plugin Author James Krill

    @jkrill

    2.4.1 Is now available. Please let me know if this fixed your problem or if you are still experiencing issues!

    New version just installed. But the drop down still doesn’t work. I have no 404 errors anymore, but only the script colorpicker.js?ver=3.3.2 is loaded (I have not check loaded css). Also, it seems there is no change event bound on select#wp-pdd.

    Plugin Author James Krill

    @jkrill

    Hi JiDaii,

    Do you have the latest version, 2.4.2? Is it working? Let me know.

    Perhaps there is a javascript error? Can you check the console of your browser?

    Thanks.

    Jim

    No, still not work. The fact is only the colorpicker js file is loaded.
    But if I change the $handle argument of wp_enqueue_script function, that works.
    I replace this line (wp-jump-menu.php, line 177):
    wp_enqueue_script( 'jquery-functions', plugins_url().'/wp-jump-menu/assets/js/jqueryfunctions.js', array( 'jquery' ) );
    by this line :
    wp_enqueue_script( 'jquery-functions-jump-menu', plugins_url().'/wp-jump-menu/assets/js/jqueryfunctions.js', array( 'jquery' ) );
    Don’t know why…

    Plugin Author James Krill

    @jkrill

    Ok! Great. That’s gotta be it. In your theme, you probably have something else enqueueing a script with ‘jquery-functions’. I’m going to change my plugin to append ‘wpjm-‘ before all those scripts are enqueued.

    Thanks for your help! Update should be coming through soon.

    Plugin Author James Krill

    @jkrill

    I think we resolved this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: WP Jump Menu] Plugin does not work if wp-content is not in default folder’ is closed to new replies.
Skip to toolbar