• toddbiala

    (@toddbiala)


    I just updated to the most recent version of wordpress and the drop down menu of my theme stopped appearing. any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    What theme are you using? Where did you download it from? Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

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

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter toddbiala

    (@toddbiala)

    using dynamic wp theme from theme forest. found another thread that says its a query issue with updating wordpress and need to update to this:

    if (!is_admin()) {
    wp_enqueue_script(‘jquery’);
    }

    just not sure where

    Thread Starter toddbiala

    (@toddbiala)

    function init_dynscripts() {
        if (!is_admin()) {
    
    		if ( function_exists('bp_is_blog_page')) {
    			if (!bp_is_blog_page()) {
    				wp_enqueue_script( 'bp-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ) );
    			}
    		}
    
    		wp_register_style('dynamix-style', get_bloginfo('stylesheet_url'),false,null);
            wp_enqueue_style('dynamix-style');
    
    		wp_dequeue_style('em-ui-css'); // stop Event Manager jQuery UI CSS interfering. 
    
    		wp_deregister_script('jquery-ui-core');
    		wp_deregister_script('jquery-ui-tabs');
    		wp_deregister_script('jquery-ui-sortable');
    		wp_deregister_script('jquery-ui-draggable');
    		wp_deregister_script('jquery-ui-droppable');
    		wp_deregister_script('jquery-ui-selectable');
    		wp_deregister_script('jquery-ui-resizable');
    		wp_deregister_script('jquery-ui-dialog');
    		wp_deregister_script('jquery-ui');
            wp_deregister_script('jquery-ui-core');
    
            wp_deregister_script( 'jquery' );
            wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js',false,null);
            wp_enqueue_script( 'jquery' );	
    
            wp_register_script( 'jquery-ui-core', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js',false,null);
            wp_enqueue_script( 'jquery-ui-core' );			
    
    		wp_deregister_script( 'dynamix' );
    	    wp_register_script( 'dynamix', get_bloginfo('template_directory').'/js/dynamix.min.js',false,null);
            wp_enqueue_script( 'dynamix' );
    
    		if(get_option('jwplayer_js')) { // Check jw player javascript file is present
    
    		$CWZ_jwplayer_js = get_option('jwplayer_js');
    
    		wp_deregister_script( 'jw-player' );
    	    wp_register_script( 'jw-player', $CWZ_jwplayer_js );
            wp_enqueue_script( 'jw-player' );
    		}
    
        }
    }
    add_action('init', 'init_dynscripts',100);

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    somewhere in there need to be updated?

    esmi

    (@esmi)

    if (!is_admin()) {
    wp_enqueue_script(‘jquery’);
    }

    You do not need to enqueue jQuery. It is loaded by default in WordPress. I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not support commercial products here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Updated WordPress and Drop Down Menu Stopped working’ is closed to new replies.