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
WDES Responsive Tool 1 is a WordPress plug-in designed to provide mobile responsive solution for your websites. WDES Responsive Tool 1 helps your websites mobile friendly and much more reliable in mobile view.
jQuery( '.nav-primary .menu' ).children().each( function( index ){ jQuery( this ).children().not( 'ul' ).css({ 'float': 'left', 'padding-left': '0', 'padding-right': '0' }); }); jQuery( '.nav-primary .menu' ).css({ 'float': 'left' }); setTimeout( function(){ var wrap_width = jQuery( '.nav-primary .wrap' ).width(); var menu_width = jQuery( '.nav-primary .menu' ).width(); var remainder_width = parseInt( wrap_width ) – parseInt( menu_width ); var count_child…
Debugging WordPress get_option Issues: Single Value Returned Instead of Array Debugging My Mobile Menu WordPress Plugin the give get_option returns 1 value instead of arrays. Code: get_option( ‘wdes_rmm_settings’ ) In this first part of my debugging series, I dive into the issues plaguing my mobile navigation menu. From unresponsive toggles to hidden elements, join me…
3 Columns HTML <div class="one-third first">Column 1</div> <div class="one-third">Column 2</div> <div class="one-third">Column 3</div> CSS .one-third { width: 32%; float: left; margin-left: 2%; } .first { margin-left: 0; } Use the HTML/CSS Column Generator for easy job.
This plugin hasn’t been tested with the latest major releases of WordPress is showed up to my WordPress plugin after I did not update my WordPress plugins for a year I think or months and many WordPress version is released after that. This is the exact notice message displayed: This plugin hasn’t been tested with…
How check if current user has pmpro_hasMembershipLevel? Copy and paste the code below to your custom template. // $levelID is can be name or ID of the membership level // $userID is the ID of the current user pmpro_hasMembershipLevel( $levelID, $userID ); // Example if(pmpro_hasMembershipLevel('12')){ } if(pmpro_hasMembershipLevel('Gold')){ } if(pmpro_hasMembershipLevel(array('12','14','Gold'))){ }