Skip to content

Instantly share code, notes, and snippets.

<header class="entry-header">
<?php $utility->attributes->get_title( array(
'class' => 'entry-title screen-reader-text',
'html' => '<h1 %1$s>%4$s</h1>',
'echo' => true,
) );
?>
</header>
@font-face {
font-family: Font-name;
src: url(assets/fonts/font-name.ttf);
font-weight: normal;
}
.jet-carousel-wrap.jet-equal-cols .jet-carousel__item>*:last-child {
display: flex;
flex-direction: column;
}
.jet-carousel-wrap.jet-equal-cols .jet-carousel__item .jet-carousel__item-link, .jet-carousel-wrap.jet-equal-cols .jet-carousel__item .jet-banner, .jet-carousel-wrap.jet-equal-cols .jet-carousel__item .jet-banner__link {
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
}
// Display 25 products per page
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 12;' ), 20 );
add_filter( 'edit_post_link', '__return_false' );
add_filter( 'tm_google_fonts', '_jx_add_google_fonts' );
function _jx_add_google_fonts( $fonts ) {
$fonts['Spectral'] = array(
'styles' => '300italic,400italic,600italic,700italic,800italic,400,300,600,700,800',
'character_set' => 'latin,vietnamese,latin-ext',
'type' => 'serif',
);
return $fonts;
}
add_action( 'woocommerce_cart_collaterals', 'monstroid2_woocommerce_cross_sell_display'
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display');
/*
Theme Name: Example Child Theme
Theme URI: https://zemez.io/wordpress/
Author: Jetimpex
Author URI: https://jetimpex.com/
Description: Sample theme description.
Template: parent_theme_folder_name_here
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html