Jquery UI tabs
Disable ui tabs menu
$("#tabs").tabs("option","disabled", [0, 1]); // Option 1 $( "#tabs" ).tabs( "disable", "#tabs-2" ); // Option 2 $( '#tabs li.disabled-tab' ).addClass( 'ui-state-disabled' ); // Option 3
Make sure you have the same file path as the image below. background-image css example : div { background-image: url('../../uploads/2014/07/bg-css.jpg' ); }
Dequeue or deregister a style or script of JS Composer WordPress plugin using your current theme functions.php. Paste the codes below. <link rel='stylesheet' id='js_composer_front-css' href='http://mytravelpersonality.com/temp/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=5.0.1' type='text/css' media='all' /> <script type='text/javascript' src='http://mytravelpersonality.com/temp/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=5.0.1'></script> add_filter( 'vc_shortcode_output', 'anton_vc_shortcode_output', 10, 4 ); function anton_vc_shortcode_output($output, $xx, $atts ){ wp_dequeue_style( 'js_composer_front' ); wp_dequeue_script( 'wpb_composer_front_js' ); return $output; }
Dequeue or deregister a style or script in WordPress is now easy and no need more time to find solutions online. Example 1: I want to remove styles using `dequeue` function. If you can see, I want to remove the `anton-accordion-style-css` styles. Please see codes below. <link rel='stylesheet' id='anton-accordion-style-css' href='https://www.anthonypagaycarbon.com/wp-content/plugins/4nton-accordion/assets/css/style.css?ver=4.9.1' type='text/css' media='all' /> Code to…
Add Woocommerce product category image using GeneratePress WordPress theme in few steps. You need to access your functions.php. Either on a parent theme or a child theme. In my case I’m using a child theme so gonna paste the codes below on child themes functions.php Please copy the code below and paste it into your…
WordPress page options resetting after pressing the enter keys and all of your settings go back to zero. This is usually this is happening when you create a custom page option in WordPress dashboard. The main reason is the reset button is declared ahead or coded before submit button. If you can see the `id=”reset”`…
If you encountered the same error just like the image above, just follow this instructions. Steps: 1. Open your cpanel and look for /wp-admin/ folder. 2. Create a file and name it to .user.ini. 3. Copy the codes below and save the file. max_input_vars = 5000; max_execution_time = 180; 4. Make sure to switch your…