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
Lorem ipsum dolor sit amet, ferri oratio definitiones ei vim. Mea ei nulla noluisse dissentiunt, id dicat nominati repudiare usu. Nam maluisset consulatu gubergren cu, falli praesent vis ea. Indoctum deseruisse quo ne, pro ex lorem ancillae accusamus. Usu conceptam maiestatis at. Mei semper docendi concludaturque id. An vix paulo urbanitas consetetur. Rebum impedit an…
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'))){ }
Page Settings In every popup created, each of them has a dedicated page settings that applies only that specific popup. You can setup an awesome popup using this features. [wdes-popup-title id=”1603″ class=”button”] Shortcode attributes Popup Title Shortcode attributes id – (required) This is your popup ID, without this, the popup will not work. class –…
How to add a notice on WordPress Dashboard? function wdes_responsive_tool_1_discounted_add_ons() { ?> <div class="notice notice-success is-dismissible wdes-responsive-tool-1-discounted-add-ons"> <h3>WDES Responsive Tool 1</h3> <p>Get a <strong><a href="http://www.WDES Responsive Tool 1.com/purchase/" target="_blank">discount on Pro Version(20%) and Complete Version(30%) !</a></strong></p> </div> <?php } add_action( 'admin_notices', 'wdes_responsive_tool_1_discounted_add_ons' );
Theme my login (TML) or WordPress login form does not show the login error. This error display after you have login the wrong username or password. The reason why it is not showing is the current login form action URL and your current page has different URL. Theme my login (TML) is using /login/ page…
PHP Notice: unserialize(): Error at offset of bytes is showing when you edited the serialized text. In my end, I have serialized text and change the text. This will mess up serialized character count. This error show on my end `PHP Notice: unserialize(): Error at offset 2025 of 3529 bytes` and to fix the issue,…