From 7493c54cb322f30fefaf13bcaa41d78288fb1812 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Tue, 15 Oct 2019 15:35:10 -0300 Subject: [PATCH] Uses get_the_title instead of get_title #20. Prepares for terms carousel block. --- src/assets/scss/_gutenberg-support.scss | 6 ++++-- src/functions/customizer.php | 4 +++- src/template-parts/loop-singular.php | 2 +- src/template-parts/single-post.php | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/assets/scss/_gutenberg-support.scss b/src/assets/scss/_gutenberg-support.scss index 112096c..09e65d4 100644 --- a/src/assets/scss/_gutenberg-support.scss +++ b/src/assets/scss/_gutenberg-support.scss @@ -101,12 +101,14 @@ /* Carousel */ .wp-block-tainacan-carousel-items-list.alignwide .tainacan-carousel, -.wp-block-tainacan-carousel-collections-list.alignwide .tainacan-carousel { +.wp-block-tainacan-carousel-collections-list.alignwide .tainacan-carousel, +.wp-block-tainacan-carousel-terms-list.alignwide .tainacan-carousel { width: 100%; left: 0; } .wp-block-tainacan-carousel-items-list.alignfull .tainacan-carousel, -.wp-block-tainacan-carousel-collections-list.alignfull .tainacan-carousel { +.wp-block-tainacan-carousel-collections-list.alignfull .tainacan-carousel +.wp-block-tainacan-carousel-terms-list.alignfull .tainacan-carousel { width: 100%; width: 100vw; left: 0; diff --git a/src/functions/customizer.php b/src/functions/customizer.php index 7fb0a85..2bf772e 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -582,7 +582,9 @@ function tainacan_get_color_scheme_css( $colors ) { .tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-prev svg, .tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-next svg, .tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-prev svg, - .tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-next svg { + .tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-next svg, + .tainacan-content .wp-block-tainacan-carousel-terms-list .swiper-button-prev svg, + .tainacan-content .wp-block-tainacan-carousel-terms-list .swiper-button-next svg { fill: {$colors['tainacan_link_color']} !important; } diff --git a/src/template-parts/loop-singular.php b/src/template-parts/loop-singular.php index 2ec5c96..20bc20f 100644 --- a/src/template-parts/loop-singular.php +++ b/src/template-parts/loop-singular.php @@ -1,6 +1,6 @@ - +
    diff --git a/src/template-parts/single-post.php b/src/template-parts/single-post.php index 54ba921..5aae4d8 100644 --- a/src/template-parts/single-post.php +++ b/src/template-parts/single-post.php @@ -1,5 +1,5 @@
    > - +