How to Create Custom Video Type in WordPress And How Can I Add In WordPress And How To Call that Like A Grid Post Any One Help Me Please

I Have Already Created Custom Post Type Video post But There Having Some
Porblem I cant Resize The Video Post And How To Display This Video Post Like a
Grid Layout please Tell Me If Anyone Know That

<?php 
$args = array( 'post_type' => 'videos', 'posts_per_page' => 4);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
echo '<div class="videos-post">';
get_template_part( 'content', get_post_format() );
  echo '</div>';
endwhile;
?>
<?php get_footer();?>

Read more here: How to Create Custom Video Type in WordPress And How Can I Add In WordPress And How To Call that Like A Grid Post Any One Help Me Please

Leave a Reply

Your email address will not be published. Required fields are marked *