| @@ -1,0 +1,23 @@ | ||
| 1 | +<?php | |
| 2 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 3 | + exit; | |
| 4 | +} | |
| 5 | +global $ablocks_visibility_page_id; | |
| 6 | +?> | |
| 7 | +<!DOCTYPE html> | |
| 8 | +<html <?php language_attributes(); ?>> | |
| 9 | +<head> | |
| 10 | +<meta name="viewport" content="width=device-width,initial-scale=1.0" charset="<?php bloginfo( 'charset' ); ?>"> | |
| 11 | +<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?> | |
| 12 | +<title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title> | |
| 13 | +<?php endif; ?> | |
| 14 | +<?php wp_head(); ?> | |
| 15 | +</head> | |
| 16 | +<body <?php body_class(); ?>> | |
| 17 | + <?php | |
| 18 | + $post_data = get_post( $ablocks_visibility_page_id ); | |
| 19 | + echo apply_filters( 'the_content', $post_data->post_content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 20 | + wp_footer(); | |
| 21 | + ?> | |
| 22 | +</body> | |
| 23 | +</html> | |