This file contains hidden or 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
// Blocksy theme | |
- New: Archive cards featured image hover effect | |
- New: Conditionally load theme CSS files | |
- New: Header row - boxed container structure | |
- Improvement: Better support for filtering plugins | |
- Improvement: WooCommerce notice wrapper position when used in Elementor | |
- Improvement: Form drop down background color becomes unchangeable if type 2 is selected | |
- Improvement: Add `nofollow` attribute to social links | |
- Improvement: Some more accessibility improvements | |
- Improvement: Menu dropdown pointer events |
This file contains hidden or 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
<script> | |
jQuery(document).ready(function($) { | |
$('.ct-filter').on( 'click', function(event){ | |
var $type = $(this).data("filter"); | |
if($type == "all"){ | |
$('.type-product').fadeOut(0); | |
$('.type-product').fadeIn(500); | |
} else { | |
$('.type-product').hide(); | |
// For CPTs just change the category class to your CPTs slug for example: '.projects-' |
This file contains hidden or 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 this to your theme's functions.php to move the variation description display to a different location | |
* on the product page. | |
*/ | |
add_action('plugins_loaded', 'move_variation_description', 50); | |
function move_variation_description(){ | |
// Remove the hook from the original location |