$thumbAlt" : "$thumbAlt"; if( $isFImg && $thumbUrl ){ ob_start(); ?>
$spaceCats" ) : ''; ?>
$el ) { if ( 'title' === $el ) { $output .= self::title( $attributes, $post ); } else { $output .= self::meta( $attributes, $post ); } } return $output; } static function title( $attributes, $post ) { extract( $attributes ); extract( $post ); $tab = $isLinkNewTab ? '_blank' : '_self'; $titleEl = $isTitleLink ? "$title" : $title; if ( $isTitle ) { ob_start(); ?>

" : ""; $authorEl = !$isMetaAuthorLink ? "$aName" : ""; $metaAuthorEl = "$iconEl $authorEl"; ob_start(); echo wp_kses_post( $metaAuthorEl ); return ob_get_clean(); } else { return ''; } } // Meta Author static function metaDate( $attributes, $post ) { extract( $attributes ); $metaDateFormat = $metaDateFormat ?? 'M j, Y'; $date = get_the_date( $metaDateFormat, $post['id'] ); if ( $isMetaDate && $date ) { $iconEl = $metaDateIcon ? "Date" : ""; $metaDateEl = "$iconEl $date"; ob_start(); echo wp_kses_post( $metaDateEl ); return ob_get_clean(); } else { return ''; } } // Meta Date static function metaCategories( $attributes, $post ) { extract( $attributes ); extract( $post ); $comaCats = $categories['coma']; if ( $isMetaCategory && 'content' === $metaCategoryIn && $comaCats ) { $iconEl = $metaCategoryIcon ? "Category" : ""; $metaCategoryEl = "$iconEl $comaCats"; ob_start(); echo wp_kses_post( $metaCategoryEl ); return ob_get_clean(); } else { return ''; } } // Meta Categories static function metaReadTime( $attributes, $post ) { extract( $attributes ); extract( $post ); if ( $isMetaReadTime ) { $readTimeText = $isMetaReadTimeSec ? $readTime['min'] .':'. $readTime['sec'] : $readTime['min']; $iconEl = $metaReadTimeIcon ? "Reding Time" : ""; $readTimeContent = $readTimeText .' '. $metaReadTimeLabel; $metaReadTimeEl = "$iconEl $readTimeContent"; ob_start(); echo wp_kses_post( $metaReadTimeEl ); return ob_get_clean(); } else { return ''; } } // Meta Categories static function metaComment( $attributes, $post ) { extract( $attributes ); extract( $post ); if ( $isMetaComment && 'open' === $commentStatus ) { $commentUrl = esc_url( $link ) . '/#comments'; $iconEl = $metaCommentIcon ? "Comment" : ""; $metaCommentEl = "$iconEl $commentCount"; ob_start(); echo wp_kses_post( $metaCommentEl ); return ob_get_clean(); } else { return ''; } } // Meta Comment static function excerpt( $attributes, $post ) { extract( $attributes ); extract( $post ); $isEllipsisOnExcerpt = $isEllipsisOnExcerpt ?? false; $finalExcerpt = ( !$isExcerptFromContent && $excerpt ) ? $excerpt : $content; $ellipsis = ( $isEllipsisOnExcerpt && ( Functions::strLength( $finalExcerpt ) > $excerptLength ) ) ? '...' : ''; if ( $isExcerpt && $finalExcerpt ) { ob_start(); ?>

$readMoreLabel"; if ( $isReadMore ) { ob_start(); ?>
'>