WordPress.org

Ready to get started?Download WordPress

Forums

Arjuna X
[resolved] Arjuna X breaks wordpress 3.5 (49 posts)

  1. pavpud
    Member
    Posted 1 year ago #

    Hi, I'm also a user of Arjuna X and having some problems. Some I solved< like editing HTML and adding posts. But my widgets are stuck, they can't be moved nor can I add a new widget.

    Has anyone of you having this problem?

  2. fishsponge
    Member
    Posted 1 year ago #

    Arjuna X seems to break a lot of javascript features of wordpress... I just tried moving my widgets around (on your behalf) and that doesn't work for me either!

    I really do wish the developers pick this up again - i have spent hours searching for a similarly-professional looking theme and still haven't found an alternative!

  3. mulch
    Member
    Posted 1 year ago #

    any new infos?
    has anyone got a feedback from SRS?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    I had somebody send me a copy of this theme so I could figure out what the problem is.

    Solution:

    1. Delete the /lib/jquery-ui-1.8.10.custom.min.js file. You don't need it.

    2. In the theme's functions.php file, at line 1910, change this line:

    wp_enqueue_script('arjunaJQueryMinJS', get_template_directory_uri() .'/lib/jquery-ui-1.8.10.custom.min.js');

    To this:

    wp_enqueue_script('jquery-ui-draggable');

    Explanation:

    The jquery-ui-1.8.10.custom.min.js file is a combination of the jquery-ui-core, jquery-ui-widget, jquery-ui-mouse, and jquery-ui-draggable sections of the jQuery UI package.

    WordPress includes the correct copies of jQuery-UI built right in. So by enqueuing the jquery-ui-draggable that is already built into WordPress, it will include the same jQuery-UI components that the custom file had automatically. Except WordPress has the correct versions of the components to work with the newer jQuery that is also included in WordPress itself.

    I tested this fix on a local copy of the "Arjuna X" theme and found no issues.

  5. fishsponge
    Member
    Posted 1 year ago #

    Thank you so much - this works perfectly!

    Is this theme open-source and licensed to the point where someone else can take it over or release it with a new name and maintain it well over time, perhaps...? :-)

  6. buckhesi
    Member
    Posted 1 year ago #

    Otto this is great!!
    runs smooth again

  7. pavpud
    Member
    Posted 1 year ago #

    Hi guys, where exactly will I find:

    1. the /lib/jquery-ui-1.8.10.custom.min.js file
    2. the theme's functions.php file

    Will much appreciate your help.

  8. buckhesi
    Member
    Posted 1 year ago #

    the lib folder is under:
    wp-content\themes\arjuna-x\lib

    the functions.php file is located in:
    wp-content\themes\arjuna-x

  9. pavpud
    Member
    Posted 1 year ago #

    Thanks a lot buckhesi and to all of you. Runs as smooth as before.

  10. lantern
    Member
    Posted 1 year ago #

    Thanks otto.

    1.upload jquery-ui-1.9.2.custom.min.js to folder "wp-content\themes\arjuna-x\lib"

    2.edit "wp-content/themes/arjuna-x/functions.php":replace "jquery-ui-1.8.10.custom.min.js" with "jquery-ui-1.9.2.custom.min.js"

    also runs as smooth as before.

  11. fishsponge
    Member
    Posted 1 year ago #

    Hmm... I'm torn now... what's the difference between both methods??

    Does one method future-proof it more?

    Does one method remove some of the functionality?

    Are both methods absolutely identical?

  12. Samuel Wood (Otto)
    Tech Ninja
    Posted 1 year ago #

    The method I suggested is preferred, because it changes the theme to use the core WordPress copies of jQuery-UI. This means that when you upgrade WordPress, it will correctly use the new libraries automatically.

    The method lantern suggests is not future-proof, and could break again with an upgrade. Note that WordPress 3.6 is very likely to contain a new version of jQuery as well, since they are planning to release jQuery 1.9 before 3.6 will be released.

  13. theKiwi
    Member
    Posted 1 year ago #

    Thanks Otto - I've just "solved" this problem on our site due to your post!!

    Cheers

    Roger

  14. Aggie69
    Member
    Posted 1 year ago #

    Tech Ninja's fix worked great!! Very Simple also. It fixed switching back and forth from "Visual" to "Text" on Post Edits, the "Upload Media" button, and the loading of the WP blog and news feeds on the Dashboard's Home page. Probably some others as well, but those were the only onews that jumped out at me.
    THANKS AGAIN!!

  15. JoseanRGB
    Member
    Posted 1 year ago #

    Thanks Otto.
    Arjuna-x is my favorite theme and thanks to you I can continue using it.

    Thanks from the Basque Country.

    Josean.

  16. BriAZ861
    Member
    Posted 1 year ago #

    I cannot locate the wp-content\themes\arjuna-x\lib folder on my MAC. The only theme folders I seem to have are twentyeleven and twentytwelve. This is so frustrating!

  17. samandiriel
    Member
    Posted 11 months ago #

    The solution posted by Samuel Wood (Otto) worked for me as well on my WP 3.5 install. Thanks much!

  18. mkostiuk
    Member
    Posted 11 months ago #

    Yes!!

    The solution posted by Samuel Wood worked for me as well. Much thanks for looking into this!!

  19. AnarchicQ
    Member
    Posted 7 months ago #

    The solution posted by Samuel Wood (Otto), worked for me as well in WP 3.6. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic