Shadow-Here


Server : Apache
System : Linux methusalix2 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
User : hios ( 1437)
PHP Version : 5.6.40-0+deb8u12
Disable Function : proc_close,proc_open,dl,shell_exec,passthru
Directory :  /home/spreitzer/public_html/werbeagentur/design/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : /home/spreitzer/public_html/werbeagentur/design/template-blog.php
<?php
/**
 * Template Name: Blog
 *
 * @package Layers
 * @since Layers 1.0.0
 */

get_header(); ?>
<div class="section-content  pager-title-section">
    <div class="container">
        <h1><?php single_post_title(); ?></h1>
        <p><?php echo get_post_meta($post->ID, "_cmb_page_subtitle", true); ?>  </p>
    </div>
</div>
<section <?php post_class( 'content-main blog-box archive clearfix' ); ?>>
    <?php get_sidebar( 'left' ); ?>
    <?php 
    $args = array(
            "post_type" => "post",
            "paged" => $paged
        );

        $query = new WP_Query($args);
    ?>
    <?php if( $query->have_posts() ) : ?>
            <?php while( $query->have_posts() ) : $query->the_post(); ?>
                <?php get_template_part( 'partials/content' , 'list2' ); ?>
            <?php endwhile; // while has_post(); ?>
            <?php klass_pagination($prev = '&lt;&lt;', $next = '&gt;&gt;', $pages=$query->max_num_pages); ?>
    <?php endif; // if has_post() ?>

    <?php get_sidebar( 'right' ); ?>
</section>
<?php get_footer(); ?>

Samx