-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelementor-canvas.php
More file actions
39 lines (33 loc) · 900 Bytes
/
Copy pathelementor-canvas.php
File metadata and controls
39 lines (33 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Template Name: Elementor Canvas
* Description: Blank page for Elementor — no header or footer.
*/
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'ELEMENTOR_VERSION' ) ) {
get_header(); ?><main style="padding:40px 20px;text-align:center;"><p><?php esc_html_e( 'لطفاً افزونه المنتور را نصب و فعال کنید.', 'umaru' ); ?></p></main>
<?php
get_footer();
return;
}
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php wp_head(); ?>
</head>
<body <?php body_class( 'elementor-canvas' ); ?>>
<?php wp_body_open(); ?>
<?php
do_action( 'elementor/page_templates/canvas/before_content' );
while ( have_posts() ) {
the_post();
the_content();
}
do_action( 'elementor/page_templates/canvas/after_content' );
wp_footer();
?>
</body>
</html>