sitemap.php 926 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <?php
  14. global $vamtam_has_header_sidebars;
  15. if ( $vamtam_has_header_sidebars ) {
  16. VamtamTemplates::header_sidebars();
  17. }
  18. ?>
  19. <div class="page-content">
  20. <?php do_action( 'vamtam-display-sitemap' ) ?>
  21. <?php the_content(); ?>
  22. <?php wp_link_pages( array(
  23. 'before' => '<div class="page-link">' . esc_html__( 'Pages:', 'vamtam-consulting' ),
  24. 'after' => '</div>',
  25. ) ); ?>
  26. <?php get_template_part( 'templates/share' ); ?>
  27. </div>
  28. <?php comments_template( '', true ); ?>
  29. </article>
  30. <?php get_template_part( 'sidebar' ) ?>
  31. </div>
  32. <?php endif;
  33. get_footer();