Add more wrappers with class to card inner list items

This commit is contained in:
Tetrakern 2024-05-29 00:06:28 +02:00
parent 8034df2614
commit ac8f5d9a58
3 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ $thumbnail_args = array(
<div class="card__right">
<?php
printf(
'%1$s<span class="cq-hide-below-460"> %2$s</span><span class="separator-dot">&#8196;&bull;&#8196;</span>%3$s',
'<span class="words">%1$s<span class="cq-hide-below-460"> %2$s</span></span><span class="separator-dot">&#8196;&bull;&#8196;</span><span class="status">%3$s</span>',
$story_data['word_count_short'],
__( 'Words', 'fictioneer' ),
$story_data['status']

View File

@ -163,7 +163,7 @@ $thumbnail_args = array(
<div class="card__right">
<?php
printf(
'%1$s<span class="separator-dot">&#8196;&bull;&#8196;</span>%2$s',
'<span class="type">%1$s</span><span class="separator-dot">&#8196;&bull;&#8196;</span><span class="date">%2$s</span>',
get_post_type_object( $item->post_type )->labels->singular_name,
get_the_modified_date( FICTIONEER_CARD_COLLECTION_LI_DATE, $item->ID )
);

View File

@ -178,7 +178,7 @@ $thumbnail_args = array(
<div class="card__right">
<?php
printf(
'%1$s<span class="cq-hide-below-460"> %2$s</span><span class="separator-dot">&#8196;&bull;&#8196;</span>%3$s',
'<span class="words">%1$s<span class="cq-hide-below-460"> %2$s</span></span><span class="separator-dot">&#8196;&bull;&#8196;</span><span class="date">%3$s</span>',
fictioneer_shorten_number( fictioneer_get_word_count( $chapter->ID ) ),
__( 'Words', 'fictioneer' ),
current_time( 'timestamp' ) - get_post_time( 'U', false, $chapter->ID ) < DAY_IN_SECONDS ?