have_posts() ) : $aiovg_query->the_post(); $post_meta = get_post_meta( $post->ID ); $player_url = aiovg_get_player_page_url( $post->ID ); $image = aiovg_get_image_url( $post_meta['image_id'][0], 'large', $post_meta['image'][0] ); if ( $i % $attributes['columns'] == 0 ) echo '
'; ?>

post_author ); $meta[] = sprintf( '%s %s', __( 'by', 'all-in-one-video-gallery' ), esc_url( $author_url ), esc_html( get_the_author() ) ); } if ( count( $meta ) ) { printf( '
%s
', __( "Posted", 'all-in-one-video-gallery' ) . ' ' . implode( ' ', $meta ) ); } ?>

%s', esc_url( $category_url ), esc_html( $category->name ) ); } printf( '
%s
', implode( ', ', $meta ) ); } } ?>
post_count ) echo '
'; // End of the loop endwhile; // Use reset postdata to restore orginal query wp_reset_postdata(); // Pagination if ( $attributes['show_pagination'] ) the_aiovg_pagination( $aiovg_query->max_num_pages, "", $attributes['paged'] ); ?>