• I’m having a bit of a Java Conflict here and any help would be appreciated. My problem started when I installed simple press forums. After that my featured post rotator on the front page stopped working. I managed to get that working again but now my admin menus don’t contract and are always expanded. I’m pretty sure it’s because the theme developer didn’t enqueue the scripts, any further insight would be appreciated as I am not that great with Java. .

Viewing 8 replies - 1 through 8 (of 8 total)
  • Have you tried:

    – deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). Don’t forget the ones in mu-plugins. If you can’t get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    Thread Starter gregster82

    (@gregster82)

    Went through all the plugins and they aren’t causing it. Switched the theme and the admin menus worked again so it seems as though its the theme. The dev said he was going to fix it but that was two weeks ago. Someone else told me it was because of not enqueueing the java scripts or something.

    Thread Starter gregster82

    (@gregster82)

    I think it might have to do with this piece of code in the header.php

    function createTicker(){             
    
    	// put all list elements within #ticker-area into array   
    
    	var tickerLIs = $("#ticker-area ul").children();          
    
    	tickerItems = new Array();                                
    
    	tickerLIs.each(function(el) {                             
    
    		tickerItems.push( jQuery(this).html() );

    Maybe you can do it thru functions.php with this information.
    https://codex.www.ads-software.com/Function_Reference/wp_enqueue_script

    Thread Starter gregster82

    (@gregster82)

    thanks ill take a look.

    First: what Theme are you using?

    Second: there is at least one problem in the jQuery code you posted. This:

    var tickerLIs = $("#ticker-area ul").children();

    …won’t work in WordPress, which requires noconflict mode for jQuery.

    See here for more information, and for the fix.

    Thread Starter gregster82

    (@gregster82)

    The theme is called Gameup by magazine3.

    The theme is called Gameup by magazine3.

    That appears to be a commercial Theme. You will need to consult the developer for Theme-specific support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Java Conflict’ is closed to new replies.