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_filter( 'woocommerce_enqueue_styles', 'my_woocommerce_styles' ); | |
function my_woocommerce_styles($styles){ | |
unset($styles['woocommerce-layout']); | |
unset($styles['woocommerce-smallscreen']); | |
$styles['woocommerce-layout'] = array( | |
'src' => get_template_directory_uri() . '/css/woocommerce.css', | |
'deps' => '', | |
'version' => '1.0.0', | |
'media' => 'all' | |
); |
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
<?php if(have_rows('slides')): ?> | |
<div id="Glide" class="glide clearfix"> | |
<div class="glide__arrows"> | |
<!-- | |
Options for arrow classes are: ion-chevron-left/right, ion-ios-arrow-left/right, ion-ios-arrow-back/forward. | |
Can also substitute <i></i> with text, e.g., Previous and Next. | |
--> | |
<button class="glide__arrow prev" data-glide-dir="<"><i class="ion ion-chevron-left"></i></button> | |
<button class="glide__arrow next" data-glide-dir=">"><i class="ion ion-chevron-right"></i></button> |
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
<?php if (have_rows('field_name')) : ?> | |
<!-- This container is optional, yet usual --> | |
<ul id="repeater-container" class="container"> | |
<?php while (have_rows('field_name')) : the_row(); ?> | |
<!-- Place the markup you want to repeat here --> | |
<li class="repeated-item"> | |
<?php the_sub_field('sub_field_name'); ?> | |
</li> | |
<?php endwhile; ?> | |
</ul> |