ID; $title = fictioneer_get_safe_title( $post_id, 'card-page' ); $comments_number = get_comments_number(); $card_classes = []; // Extra classes if ( get_theme_mod( 'card_style', 'default' ) !== 'default' ) { $card_classes[] = '_' . get_theme_mod( 'card_style' ); } if ( get_theme_mod( 'card_image_style', 'default' ) !== 'default' ) { $card_classes[] = '_' . get_theme_mod( 'card_image_style' ); } // Card attributes $attributes = apply_filters( 'fictioneer_filter_card_attributes', [], $post, 'card-page' ); $card_attributes = ''; foreach ( $attributes as $key => $value ) { $card_attributes .= esc_attr( $key ) . '="' . esc_attr( $value ) . '" '; } // Thumbnail attributes $thumbnail_args = array( 'alt' => sprintf( __( '%s Thumbnail', 'fictioneer' ), $title ), 'class' => 'no-auto-lightbox' ); ?>