- Online Prototyping
- User Testing & Feedback
- UI Design Patterns
- Colours & Gradients
- User & Profile Photos
- Stock Photography
- Icons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add product categories to the "Product" breadcrumb in WooCommerce. | |
// Get breadcrumbs on product pages that read: Home > Shop > Product category > Product Name | |
add_filter( 'woo_breadcrumbs_trail', 'woo_custom_breadcrumbs_trail_add_product_categories', 20 ); | |
function woo_custom_breadcrumbs_trail_add_product_categories ( $trail ) { | |
if ( ( get_post_type() == 'product' ) && is_singular() ) { | |
global $post; | |
$taxonomy = 'product_cat'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function() { | |
var bottomBar = document.getElementById('bottom_bar'); | |
var trayToggle = document.getElementsByClassName('hide-tray-toggle'); | |
var screensViewerNav = document.getElementById('screens_viewer_nav'); | |
var poweredBy = document.getElementsByClassName('powered-by'); | |
var toolbar = document.getElementsByClassName('toolbar'); | |
var slideshowNav =document.getElementsByClassName('slideshow-nav'); | |
var hotspots = document.getElementsByClassName('hotspot'); | |