Similar Posts
Add div wrapper below the widget title
Re-register the default genesis sidebar into your function.php. See the image above for html output. genesis_register_sidebar( array( 'id' => 'sidebar', 'name' => __( 'Primary Sidebar', 'genesis' ), 'before' => '<div id="%1$s" class="widget %2$s">', 'after' => '</div></div>', 'before_title' => '<h4 class="widget-title widgettitle">', 'after_title' => '</h4><div class="widget-inner">' ) );
Custom Jquery collections
Navigation menu on-click prevent default if menu item has children and fires only on second click // OPTION 1 // JQUERY $( '.menu-item-has-children a' ).click( function(e){ $( this ).parent().toggleClass( 'active-li' ); if( $( this ).next( '.sub-menu' ).css( 'display' ) == 'block' ){ e.preventDefault(); } }); // CSS ul.menu .sub-menu { display: none; } ul.menu .active-li…
How to replace Woocommerce placeholder image URL?
How to replace Woocommerce placeholder image URL? Just copy the codes below. add_filter( 'woocommerce_placeholder_img_src', function( $classes ){ if( !is_product() ) return; // this code is intended to single product only. Remove this for general changes. return get_bloginfo( 'url' ) . '/wp-content/uploads/2016/03/placeholder.jpg'; } );
How to add additional HTML after the page title using Visual Composer Fancy title (the7 WordPress theme).
I have a search form to add below page title using Visual Composer Fancy title (the7 WordPress theme) page editor. I look for alternative solutions that I can insert my additional HTML content. Lucky me to found it, and here’s the code on how to add additional content. Add this code on your functions.php, can…
How to make a jQuery Colorbox pop up page responsive?
jQuery( document ).ready( function(){ var custom_timeout = ( function() { var timers = {}; return function ( callback, ms, uniqueId ) { if ( !uniqueId ) { uniqueId = "Don't call this twice without a uniqueId"; } if ( timers[uniqueId] ) { clearTimeout ( timers[uniqueId] ); } timers[uniqueId] = setTimeout( callback, ms ); }; })();…
WordPress register / deregister script / in wp_head.
To replace the default WordPress jquery ( http://192.185.73.118/~anthonycarbon/wp-includes/js/jquery/jquery.js ) library with the Google hosted jquery library, copy the below codes and paste it into your functions.php file. The7 WordPress theme dequeue script. Example is `dt-above-fold`. add_action( 'wp_enqueue_scripts', 'my_deregister_javascript', 20 ); add_action( 'wp_print_scripts', 'wp_print_scripts_deregister', 100 ); function my_deregister_javascript() { if ( ! is_admin() && isset( $_GET['wp_print_scripts']…


Many thanks if you are so kind to fairly share this information.