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: 8.2.32
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/sciohost.org/wp-content/themes/doris/inc/modules/vertical_2.php
<?php
if (!class_exists('doris_vertical_2')) {
    class doris_vertical_2 {
        
        function render($postAttr) {
            ob_start();
            global $post;
            $postID = $postAttr['postID'];
            $bk_permalink = get_permalink($postID);
            $bk_post_title = get_the_title($postID);
            if(isset($postAttr['catClass']) && ($postAttr['catClass'] != '')) {
                $catClass = $postAttr['catClass']; 
            }else {
                $catClass = '';
            }
            $authorCity = get_the_author_meta('city', $post->post_author);
            ?>
            <article class="post post--vertical clearfix <?php if(!(atbs_core::bk_check_has_post_thumbnail($postID) && isset($postAttr['thumbSize']) && ($postAttr['thumbSize'] != ''))) : echo 'no-thumbnail-available'; endif;?>">
                 <div class="post--vertical__inner">
                    <div class="author-meta">
                          <?php 
                            $bk_author_name = get_the_author_meta('display_name', $post->post_author);
                            $authorImgALT = $bk_author_name;
                            $authorArgs = array(
                                'class' => 'author__avatar',
                            );
                            echo get_avatar($post->post_author, '34', '', $authorImgALT, $authorArgs);
                        ?>
                          <div class="author__text">
                             <?php echo ' <a class="author__name" title="'.esc_attr__('Posts by','doris').' '.esc_attr($bk_author_name).'" rel="author" href="'.get_author_posts_url($post->post_author).'">'.esc_attr($bk_author_name).'</a>';?>
                             <p class=""><?php echo esc_html($authorCity);?></p>
                          </div>
                    </div>
                    <div class="post__thumb">
                        <?php echo atbs_core::get_feature_image($postID, $postAttr['thumbSize'], true);?>
                    </div>
                     
                     <div class="post__text">
                        <h3 class="post__title <?php echo esc_attr($postAttr['typescale']);?>"><?php echo atbs_core::bk_get_post_title_link($postAttr['postID']);?></h3>
                     </div>
                 </div>
                 <div class="post-meta">
                   <div class="meta__item">
                      <p class="title"><?php esc_html_e('Date', 'doris');?></p>
                      <?php echo atbs_core::bk_meta_cases('date_without_icon');?>
                   </div>
                </div>
                 
              </article>
            <?php return ob_get_clean();
        }
        
    }
}