Skip to content

WooCommerce Click to Toggle Review Form

WooCommerce Click to Toggle Review Form

/* Add this CSS to the site to hide the form and make the comment title look more like a button */ .woocommerce #review_form #commentform { display: none; } .woocommerce #review_form .comment-reply-title { display: inline-block; background: #000; color: #fff; padding:…

Read more

Different Footer Widget Columns on Mobile

/** * Add responsive grid classes to your footer columns * Note: Only add the classes you need. For example if the default columns * are set to 4 no need to define 4 columns again for tablet devices. *…

Read more

Insert Custom “Entry/Advertisement” to the Blog Grid

add_action( 'wpex_hook_archive_loop_before_entry', function() { // Add extra content only for blog archives if ( 'blog' != wpex_get_index_loop_type() ) { return; } global $wp_query; // Insert after the 3rd item (note in WP the first item has an index of 0)a…

Read more

Change Mobile Menu Hamburger Icon Size

Here is an example CSS to make the hamburger icon bigger in the Total WordPress theme. The way the icon works is by having a span set to a fixed height and width. Inside it is another span set to…

Read more

Enable URL Hash Update For Local Scroll Links

/** * Enable URl hash update when clicking local scroll links * */ function myprefix_enable_local_scroll_hash_update( $array ) { $array['localScrollUpdateHash'] = true; return $array; } add_filter( 'wpex_localize_array', 'myprefix_enable_local_scroll_hash_update' );

Read more
Back To Top