Current path: home/webdevt/www/wdp/wp-content/themes/wagency/
?? Go up: /home/webdevt/www/wdp/wp-content/themes
<?php
/*
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* 'pages' on your WordPress site will use a different template.
*/
get_header(); ?>
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="<?php
// - make sure the method exists
if ( function_exists( 'kc_is_using' ) && kc_is_using() ) :
echo 'container-full';
else :
echo 'container otherpage';
endif;
?>">
<?php
do_action( 'atiframebuilder_layout_entry_header' );
?>
<div class="entry-meta hidden">
<?php
do_action( 'atiframebuilder_layout_page_entry_meta' );
?>
</div><!-- .entry-meta -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages(
array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_attr__( 'Pages:', 'wagency' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
)
); ?>
</div><!-- .entry-content -->
<?php edit_post_link( esc_attr__( 'Edit', 'wagency' ), '<div class="pageedit_link"><span class="edit-link">', '</span></div>' ); ?>
<div>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
</div> <!-- KC container -->
</article><!-- #post -->
<?php endwhile; ?>
<?php get_footer(); ?>