Uses get_the_title instead of get_title #20. Prepares for terms carousel block.
This commit is contained in:
parent
cd9d388334
commit
7493c54cb3
|
@ -101,12 +101,14 @@
|
||||||
|
|
||||||
/* Carousel */
|
/* Carousel */
|
||||||
.wp-block-tainacan-carousel-items-list.alignwide .tainacan-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%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
.wp-block-tainacan-carousel-items-list.alignfull .tainacan-carousel,
|
.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: 100%;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
@ -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-prev svg,
|
||||||
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-next 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-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;
|
fill: {$colors['tainacan_link_color']} !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
<?php if ( the_title() != '') : ?>
|
<?php if ( get_the_title() != '') : ?>
|
||||||
<div class="tainacan-title">
|
<div class="tainacan-title">
|
||||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||||
<ul class="list-inline mb-1">
|
<ul class="list-inline mb-1">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
|
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
|
||||||
<?php if ( the_title() != '') : ?>
|
<?php if ( get_the_title() != '') : ?>
|
||||||
<header class="mb-4">
|
<header class="mb-4">
|
||||||
<div class="header-meta text-muted mb-5 d-flex">
|
<div class="header-meta text-muted mb-5 d-flex">
|
||||||
<?php if ( ! is_singular( 'page' ) ) { ?>
|
<?php if ( ! is_singular( 'page' ) ) { ?>
|
||||||
|
|
Loading…
Reference in New Issue