HEX
Server: LiteSpeed
System: Linux server1.jphostbd.xyz 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User: dailyajk (1018)
PHP: 7.4.33
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: /home/dailyajk/public_html/wp-content/themes/jphostbd-news12/news-video.php
<?php /* Template Name: Video Gallery Page */ ?>

<?php get_header() ?>
   <?php global $jphostbd ?>


    <!----------  Home Section Section Start ---------->

       <section class="single_section">			
			<div class="container">	
                 
                 <div class="row">
                    
					<?php
						$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
						$args = array(
							'post_type' => 'news-video',
							'paged' => $paged
						); $the_query = new WP_Query($args); if( $the_query->have_posts() ) : ?> 
						<?php while( $the_query->have_posts() ) : $the_query->the_post(); ?>
					
					<div class="col-md-4 col-sm-4">
                        <div class="photo">
                            <div class="embed-responsive embed-responsive-16by9 embed-responsive-item">
                                <?php echo the_content();?>
                            </div>
                            <div class="photo_title"><?php the_title();?></div>
                        </div>
                    </div>
                    
					<?php endwhile; ?>
					
                </div>
				
				<div class="row">
					 <div class="col-md-12 options">

						<!-- pagination -->
						<ul class="pagination pull-left">
						<li> <?php echo get_previous_posts_link ('<span class="glyphicon glyphicon-arrow-left"></span>'); ?></li>
							<li> <?php echo get_next_posts_link ('<span class="glyphicon glyphicon-arrow-right"></span>', $the_query->max_num_pages ); ?></li>
							
						</ul>

					</div>
				</div>
				<!-- /.options -->  

				<?php wp_reset_postdata(); ?>

				<?php endif; ?>

            </div>
        </section>


    <!----------  Home Section Section Close ----------> 


<?php get_footer();?>