post_content));
$art_blog_embeds = get_media_embedded_in_content($art_blog_content);
// Track displayed video embeds
$art_blog_displayed_embeds = [];
// Check if not in a singular view
if (!is_singular() && !empty($art_blog_embeds)) {
// Loop through embedded media and display videos
foreach ($art_blog_embeds as $art_blog_embed) {
// Check if the embed code contains a video tag or specific video providers like YouTube or Vimeo
if (strpos($art_blog_embed, 'video') !== false || strpos($art_blog_embed, 'youtube') !== false || strpos($art_blog_embed, 'vimeo') !== false || strpos($art_blog_embed, 'dailymotion') !== false || strpos($art_blog_embed, 'vine') !== false || strpos($art_blog_embed, 'wordPress.tv') !== false || strpos($art_blog_embed, 'hulu') !== false) {
?>
' . esc_html__('Post Tags: ', 'art-blog') . '';
the_tags('', ', ', '');
echo '
';
}
?>
".wp_trim_words(get_the_excerpt(), get_theme_mod('art_blog_excerpt_limit', 25))."";
}
?>
'
' . esc_html__( 'Pages:', 'art-blog' ),
'after' => '
',
)
);
?>