HEX
Server: LiteSpeed
System: Linux sinope.sitehostingserver.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: aprilnet (1155)
PHP: 7.4.33
Disabled: popen,imap_mail,exec,passthru,system,shell_exec,proc_open,pcntl_exec,eval,allow_url_fopen,allow_url_include,mail,proc_get_status,get_cfg_var,disk_free_space,disk_total_space,diskfreespace,getmygid,getmyinode,getmypid,geymyuid,proc_nice,proc_terminate,proc_close,apache_child_terminate,chown,lchgrp,lchown,link,readlink,highlight_file,show_source,php_strip_whitespace,get_meta_tags,dl,leak,pfsockopen,event_new,pcntl_signal,pcntl_alarm,register_tick_function,apache_setenv,define_syslog_variables,escapeshellarg,escapeshellcmd,ini_alter,ini_restore,inject_code,openlog,syslog,xmlrpc_entity_decode,phpAds_remoteInfo,phpAds_XmlRpc,phpAds_xmlrpcDecode,phpAds_xmlrpcEncode,chgrp,php_eval,safe_dir,root,ftok,egy_perl,symlink,wscript
Upload Files
File: /home/aprilnet/public_html/operationreality.org/wp-content/themes/boal/category.php
<?php
/**
 * The template for displaying Category pages
 *
 * @author      NanoAgency
 * @link        http://nanoagency.co
 * @copyright   Copyright (c) 2015 NanoAgency
 * @license     GPL v2
 */

get_header();

$title                = get_theme_mod('boal_post_title_heading',true);
$layout_content=get_theme_mod('boal_layout_cat_content', 'list');

$style_css                  ="";
$bg_header                  = get_theme_mod('boal_cat_image');
$bg_header_color            = get_theme_mod('boal_cat_bg');
if($bg_header){
    $cat_header           ="background-image:url('$bg_header')";
    $style_css            ='style = '.$cat_header.'';
}
if($bg_header_color){
    $cat_header           ="background:$bg_header_color";
    $style_css            ='style = '.$cat_header.'';
}

$content_description     = get_theme_mod('boal_cat_content_description', true);
$content_des='description-hidden';
if($content_description){
    $content_des='description-show';
}

$content_col   = get_theme_mod('boal_number_post_cat', '1');
if ($content_col==='2'){
    $class='col-md-6 col-xs-6';
}
elseif ($content_col==='3'){
    $class='col-md-4 col-xs-6';
}
elseif ($content_col==='4'){
    $class='col-md-3 col-xs-6';
}else{
    $class='col-md-12 ';
}

//get
if(isset($_GET['col'])){
    $class=$_GET['col'];
}
if(isset($_GET['des'])){
    $content_des=$_GET['des'];
}
if(isset($_GET['content'])){
    $layout_content=$_GET['content'];
}

?>

<div class="wrap-content" role="main">
    <?php if ($title): ?>
    <div class="cat-header clearfix" <?php echo esc_attr($style_css);?>>
        <div class="container">
            <h1 class="title-cat">
                <?php single_cat_title(); ?>
            </h1>
           <?php  the_archive_description( '<div class="cat-description">', '</div>' );?>
        </div>
    </div>
    <?php endif;?>
    <div class="container wrap-content-inner">
        <div class="row content-category">
            <?php do_action('archive-sidebar-left'); ?>
            <?php do_action('archive-content-before'); ?>
            <?php if ( have_posts() ) : ?>
                <div class="archive-blog  row <?php echo esc_attr($content_des);?>">
                    <div class="rows affect-isotope">
                        <?php
                        // Start the Loop.
                        while ( have_posts() ) : the_post(); ?>
                            <div class="item-post col-item <?php echo esc_attr($class);?>">
                                <?php get_template_part( 'templates/layout/content' ,$layout_content); ?>
                            </div>
                        <?php endwhile;

                        else :
                            // If no content, include the "No posts found" template.
                            get_template_part( 'content', 'none' );
                        endif;

                        ?>
                    </div>
                </div>
                <?php
                the_posts_pagination( array(
                    'prev_text'          => '<i class="fa fa-angle-left"></i>',
                    'next_text'          => '<i class="fa fa-angle-right"></i>',
                    'before_page_number' => '<span class="meta-nav screen-reader-text"></span>',
                ) );
                ?>
            <?php do_action('archive-content-after'); ?>

            <?php do_action('archive-sidebar-right'); ?>
        </div><!-- .content-area -->
    </div>
</div>
<?php
get_footer();