Skip to content

Instantly share code, notes, and snippets.

View manuelhudec's full-sized avatar

Manuel Hudec manuelhudec

View GitHub Profile
@sergiu-radu
sergiu-radu / gist:46f19e265d9a64d3cc7bc798b718df7b
Created June 8, 2021 21:43
Beta versions changelog (1.8.3.3 & 1.8.6.2)
// 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
@tdmrhn
tdmrhn / blocksy-product-filter.php
Created May 25, 2021 23:52
Blocksy Products live jQuery filter
<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-'
@growdev
growdev / sample_functions.php
Last active January 20, 2023 06:43
Moving the location of the WooCommerce Variable Product Description on the product page
<?
/* 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