template-canvas.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The Post Grid Template Canvas |
| 4 | * @package RT_TPG |
| 5 | */ |
| 6 | |
| 7 | // Do not allow directly accessing this file. |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit( 'This script cannot be accessed directly.' ); |
| 10 | } |
| 11 | ?> |
| 12 | <!DOCTYPE html> |
| 13 | <html <?php language_attributes(); ?>> |
| 14 | <head> |
| 15 | <meta charset="<?php bloginfo( 'charset' ); ?>"> |
| 16 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 17 | <link rel="profile" href="https://gmpg.org/xfn/11"/> |
| 18 | <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?> |
| 19 | <title><?php echo wp_get_document_title(); ?></title> |
| 20 | <?php endif; ?> |
| 21 | <?php wp_head(); ?> |
| 22 | </head> |
| 23 | <body <?php body_class(); ?>> |
| 24 | <?php |
| 25 | wp_body_open(); |
| 26 | while ( have_posts() ) : the_post(); |
| 27 | the_content(); |
| 28 | endwhile; |
| 29 | wp_footer(); |
| 30 | ?> |
| 31 | </body> |
| 32 | </html> |