Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/www/wp-content/themes/film-celebrity/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/www/wp-content/themes/film-celebrity/template-parts/layouts.php
<?php
/**
 * Template part for post layout
 *
 * @subpackage Film Celebrity
 * @since 1.0
 */
?>
<?php
$film_celebrity_post_layout = get_theme_mod( 'film_celebrity_post_layout','two_column_right');
if($film_celebrity_post_layout == 'two_column_right'){ ?>
    <div class="content_area col-lg-8 col-md-8">        
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
                <?php get_template_part('template-parts/content-page-grid', get_post_format() ); ?>
            <?php endwhile; ?>
            
        <?php endif; ?>
        <div class="paginations">
            <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
            'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
            'next_text'          => '<i class="fa fa-angle-double-right"></i>',
            ) ); ?>
        </div>
    </div>
    <div class="col-lg-4 col-md-4 sidebar">
        <?php get_sidebar();?>
    </div>
<?php }
else if($film_celebrity_post_layout == 'two_column_left'){ ?>
    <div class="col-lg-4 col-md-4 sidebar">
        <?php get_sidebar();?>
    </div>
    <div class="content_area col-lg-8 col-md-8">
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
                <?php get_template_part('template-parts/content-page-grid', get_post_format() ); ?>
            <?php endwhile; ?>
            
        <?php else: ?>
            
            <?php get_template_part('template-parts/content','none'); ?>
            
        <?php endif; ?>
        <div class="paginations">
            <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
            'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
            'next_text'          => '<i class="fa fa-angle-double-right"></i>',
            ) ); ?>
        </div>
    </div>
<?php }
else if($film_celebrity_post_layout == 'one_column'){ ?>
    <div class="content_area col-lg-12 col-md-12">        
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
                <?php get_template_part('template-parts/content-page-grid',get_post_format() ); ?>
            <?php endwhile; ?>
        
        <?php else: ?>
            
            <?php get_template_part('template-parts/content','none'); ?>

        <?php endif; ?>
        <div class="paginations">
            <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
            'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
            'next_text'          => '<i class="fa fa-angle-double-right"></i>',
            ) ); ?>
        </div>
    </div>
<?php }
else if($film_celebrity_post_layout == 'three_column'){ ?>
    <div class="col-lg-3 col-md-3 sidebar">
        <?php get_sidebar();?>
    </div>
    <div class="content_area col-lg-6 col-md-6">
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
                <?php get_template_part('template-parts/content-page-grid',get_post_format() ); ?>
            <?php endwhile; ?>
            
        <?php else: ?>
            
            <?php get_template_part('template-parts/content','none'); ?>
            
        <?php endif; ?>
        <div class="paginations">
            <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
            'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
            'next_text'          => '<i class="fa fa-angle-double-right"></i>',
            ) ); ?>
        </div>
    </div>
    <div class="col-lg-3 col-md-3 sidebar">
        <?php dynamic_sidebar('sidebar1'); ?>
    </div>
<?php }
else if($film_celebrity_post_layout == 'four_column'){ ?>
    <div class="col-lg-3 col-md-3 sidebar">
        <?php get_sidebar();?>
    </div>
    <div class="col-lg-3 col-md-3 sidebar">
        <?php dynamic_sidebar('sidebar1'); ?>
    </div>
    <div class="content_area col-lg-3 col-md-3">
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
                <?php get_template_part('template-parts/content-page-grid',get_post_format() ); ?>
            <?php endwhile; ?>
            
        <?php else: ?>
            
            <?php get_template_part('template-parts/content','none'); ?>
            
        <?php endif; ?>
        <div class="paginations">
            <?php
            // Previous/next page navigation.
            the_posts_pagination( array(
            'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
            'next_text'          => '<i class="fa fa-angle-double-right"></i>',
            ) ); ?>
        </div>
    </div>
    <div class="col-lg-3 col-md-3 sidebar">
        <?php dynamic_sidebar('sidebar2'); ?>
    </div>
<?php }
else if($film_celebrity_post_layout == 'grid_post'){ ?>
<div class="content_area col-lg-12 col-md-12">
    <div class="row">
        <?php if( have_posts() ): ?>
        
            <?php while( have_posts() ): the_post(); ?>
            
               <div class="col-lg-4 mb-4">
                    <?php get_template_part('template-parts/content-page-grid',get_post_format() ); ?>
                </div>
            <?php endwhile; ?>
            
        <?php else: ?>
            
            <?php get_template_part('template-parts/content','none'); ?>
            
        <?php endif; ?>
    </div>
    <div class="paginations">
        <?php
        // Previous/next page navigation.
        the_posts_pagination( array(
        'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
        'next_text'          => '<i class="fa fa-angle-double-right"></i>',
        ) ); ?>
    </div>
</div>
<?php }

ZeroDay Forums Mini