| @@ -1,0 +1,31 @@ | ||
| 1 | +<?php if (!defined('ABSPATH')) exit; // Exit if accessed directly ?> | |
| 2 | + | |
| 3 | +<!DOCTYPE html> | |
| 4 | +<html <?php language_attributes(); ?>> | |
| 5 | +<head> | |
| 6 | + <meta charset="<?php bloginfo('charset'); ?>"> | |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| 8 | + <title><?php wp_title('|', true, 'right'); ?></title> | |
| 9 | + <?php wp_head(); ?> | |
| 10 | +</head> | |
| 11 | +<body <?php body_class(); ?>> | |
| 12 | + <div class="ivyforms-preview"> | |
| 13 | + <header class="ivyforms-preview-header"> | |
| 14 | + <h1><?php the_title(); ?></h1> | |
| 15 | + </header> | |
| 16 | + <?php | |
| 17 | + if(have_posts()) { | |
| 18 | + while(have_posts()) { | |
| 19 | + the_post(); | |
| 20 | + ?> | |
| 21 | + <section class="ivyforms-preview-content"> | |
| 22 | + <?php the_content(); ?> | |
| 23 | + </section> | |
| 24 | + <?php | |
| 25 | + } | |
| 26 | + } | |
| 27 | + ?> | |
| 28 | + </div> | |
| 29 | + <?php wp_footer(); ?> | |
| 30 | +</body> | |
| 31 | +</html> | |