balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

template-canvas.php (1143B)


      1 <?php
      2 /**
      3  * ReduxTemplates - Canvas / Theme Override
      4  *
      5  * @since 4.0.0
      6  * @package redux-framework
      7  */
      8 
      9 if ( ! defined( 'ABSPATH' ) ) {
     10 	exit; // Exit if accessed directly.
     11 }
     12 
     13 ?>
     14 <!DOCTYPE html>
     15 <html <?php language_attributes(); ?>>
     16 <head>
     17 	<meta charset="<?php bloginfo( 'charset' ); ?>">
     18 	<meta name="viewport" content="width=device-width, initial-scale=1"/>
     19 	<link rel="profile" href="https://gmpg.org/xfn/11"/>
     20 	<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
     21 		<title><?php echo esc_html( wp_get_document_title() ); ?></title>
     22 	<?php endif; ?>
     23 	<?php
     24 		wp_head();
     25 		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     26 		echo '<style type="text/css" id="redux-template-overrides">' . ReduxTemplates\Template_Overrides::get_overrides() . '</style>';
     27 	?>
     28 </head>
     29 <body <?php echo body_class(); ?>>
     30 <?php wp_body_open(); ?>
     31 <?php
     32 while ( have_posts() ) :
     33 	the_post();
     34 	the_content();
     35 
     36 	// If comments are open or we have at least one comment, load up the comment template.
     37 	if ( comments_open() || get_comments_number() ) :
     38 		comments_template();
     39 	endif;
     40 	?>
     41 <?php endwhile; ?>
     42 <?php wp_footer(); ?>
     43 </body>
     44 </html>