Add more wrappers with class to card inner list items
This commit is contained in:
parent
8034df2614
commit
ac8f5d9a58
@ -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"> • </span>%3$s',
|
||||
'<span class="words">%1$s<span class="cq-hide-below-460"> %2$s</span></span><span class="separator-dot"> • </span><span class="status">%3$s</span>',
|
||||
$story_data['word_count_short'],
|
||||
__( 'Words', 'fictioneer' ),
|
||||
$story_data['status']
|
||||
|
@ -163,7 +163,7 @@ $thumbnail_args = array(
|
||||
<div class="card__right">
|
||||
<?php
|
||||
printf(
|
||||
'%1$s<span class="separator-dot"> • </span>%2$s',
|
||||
'<span class="type">%1$s</span><span class="separator-dot"> • </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 )
|
||||
);
|
||||
|
@ -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"> • </span>%3$s',
|
||||
'<span class="words">%1$s<span class="cq-hide-below-460"> %2$s</span></span><span class="separator-dot"> • </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 ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user