- /* ========================================================================== */
- /* Popup Window without header + footer */
- /* ========================================================================== */
- <?php
- $ajax = true;
- } else {
- $ajax = false;
- get_header();
- }
- if (have_posts()) {
- while (have_posts()) { the_post();
- ?>
- <div class="close-ajax">
- <span class="dashicons dashicons-no-alt"></span>
- </div>
- <div class="product-container grid-m-2">
- <div class="column left-column">
- <div class="text pos-v-top">
- <h1 class="yellow"><?php the_title(); ?></h1>
- <?php the_content(); ?>
- </div>
- </div>
- </div>
- <?php
- }
- }
- if (!$ajax) {
- get_footer();
- }
Recent Pastes