post_author ); $user_meta[] = sprintf( '%s', esc_url( $author_url ), get_the_author() ); } if ( count( $user_meta ) ) { $meta[] = sprintf( '
%s
', implode( ' ' . __( "by", 'all-in-one-video-gallery' ) . ' ', $user_meta ) ); } // Category(s) if ( $attributes['show_category'] && ! empty( $attributes['categories'] ) ) { $term_meta = array(); foreach ( $attributes['categories'] as $category ) { $category_url = aiovg_get_category_page_url( $category ); $term_meta[] = sprintf( '%s', esc_url( $category_url ), esc_html( $category->name ) ); } $meta[] = sprintf( '
%s
', implode( ', ', $term_meta ) ); } // ... if ( count( $meta ) ) { printf( '
%s
', implode( '', $meta ) ); } ?>
post_content ); ?>
term_id; } $atts[] = 'category="' . implode( ',', $ids ) . '"'; } $atts[] = 'exclude="' . $attributes['id'] . '"'; $atts[] = 'show_count="0"'; $related_videos = do_shortcode( '[aiovg_videos ' . implode( ' ', $atts ) . ']' ); if ( ! empty( $related_videos ) ) { echo $related_videos; } }