page.php 802 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Single page template
  4. *
  5. * @package vamtam/consulting
  6. */
  7. get_header();
  8. ?>
  9. <?php if ( have_posts() ) : the_post(); ?>
  10. <div class="row page-wrapper">
  11. <?php VamtamTemplates::$in_page_wrapper = true; ?>
  12. <article id="post-<?php the_ID(); ?>" <?php post_class( VamtamTemplates::get_layout() ); ?>>
  13. <div class="page-content">
  14. <?php
  15. the_content();
  16. VamtamTemplates::custom_link_pages( array(
  17. 'before' => '<div class="wp-pagenavi"><span class="visuallyhidden">' . esc_html__( 'Pages:', 'vamtam-consulting' ) . '</span>',
  18. 'after' => '</div>',
  19. ) );
  20. ?>
  21. <?php get_template_part( 'templates/share' ); ?>
  22. </div>
  23. <?php comments_template( '', true ); ?>
  24. </article>
  25. <?php get_template_part( 'sidebar' ) ?>
  26. </div>
  27. <?php endif;
  28. get_footer();