| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/perspective-theme/ |
Upload File : |
<?php
get_header();
global $cs_theme_option;
$cs_layout = $cs_theme_option['cs_layout'];
?>
<div role="main" id="main">
<div class="container columns">
<div class="row">
<?php
if ( $cs_layout <> '' and $cs_layout <> "none" and $cs_layout == 'left') : ?>
<aside class="<?php cs_default_pages_sidebar_class($cs_layout )?>"><?php cs_default_pages_sidebar()?></aside>
<?php endif; ?>
<div class="<?php cs_default_pages_meta_content_class( $cs_layout ); ?>">
<div class="postlist blog">
<!-- Blog Post Start -->
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<article <?php post_class(); ?>>
<!-- News List Start -->
<div class="blog_text webkit">
<div class="text">
<h2 class="heading-color post-title"><a href="<?php the_permalink(); ?>" class="colr"><?php the_title(); ?></a></h2>
<p><?php cs_get_the_excerpt(255,true);?></p>
<ul class="post-options">
<li>
<time datetime="<?php echo date('Y-m-d',strtotime(get_the_date()));?>"><?php if($cs_theme_option['trans_switcher']== "on"){ _e('Posted on','Perspective');}else{ echo $cs_theme_option['trans_posted_on']; } ?> <?php echo get_the_date();?> <?php echo get_the_date();?></time>
</li>
<li>
<?php printf( __('By: %s ','Perspective'), '<a href="'.get_author_posts_url(get_the_author_meta('ID')).'" class="colr">'.get_the_author().'</a>' );?>
</li>
<?php edit_post_link( __( 'Edit', 'Perspective'), ' <li><span class="edit-link colr">', '</span></li>' ); ?>
</ul>
</div>
</div>
</article>
<?php
endwhile;
else:
?>
<div class="in-sec">
<header class="heading">
<h2 class="colr"><?php _e( 'No results found.', 'Perspective' ); ?></h2>
</header>
<?php get_search_form(); ?>
</div>
<?php
endif;
$qrystr = '';
// pagination start
if ( $cs_theme_option['pagination'] == "Show Pagination" and $wp_query->found_posts > get_option('posts_per_page')) {
echo "<nav class='pagination'><ul>";
if ( isset($_GET['s']) ) $qrystr = "&s=".$_GET['s'];
if ( isset($_GET['page_id']) ) $qrystr .= "&page_id=".$_GET['page_id'];
echo cs_pagination($wp_query->found_posts,get_option('posts_per_page'), $qrystr);
echo "</ul></nav>";
}
// pagination end
?>
</div>
</div>
<?php
if ( $cs_layout <> '' and $cs_layout <> "none" and $cs_layout == 'right') : ?>
<aside class="<?php cs_default_pages_sidebar_class( $cs_theme_option['cs_layout'] )?>"><?php cs_default_pages_sidebar()?></aside>
<?php endif; ?>
<?php get_footer();?>
<!-- Columns End -->