cube portofolio admin hang/freezes SOLVED

[ad_1]

The solution to cube portfolio hang in admin page:
Latest wp has vhanged jQuery version, so cube needs the old one:
To isolate the change only in the affected page, add this to your functions.php

// include custom jQuery
function cubeportfolio_include_custom_jquery($hook_suffix) {
if($hook_suffix == 'toplevel_page_cubeportfolio') {
wp_deregister_script('jquery');
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', array(), null, true);
}
}
add_action('admin_enqueue_scripts', 'cubeportfolio_include_custom_jquery');

This is related to these closed Topics:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer