-
Notifications
You must be signed in to change notification settings - Fork 62
/
template-blank.php
59 lines (48 loc) · 2.43 KB
/
template-blank.php
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/*
Template Name: Blank
*/
/**
* Access control for non-logged in
*/
if ( ! apply_filters( 'dt_blank_access', false ) ){
esc_html_e( 'Access to this page not permitted', 'disciple_tools' );
exit;
}
?>
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no">
<meta class="foundation-mq">
<?php
/**
* Default colors and mobile icons are provided, but can be overridden using this filter
* These default settings are sufficient, unless you are building a progressing web app
* then you can override them.
*/
$dt_override_header_meta = apply_filters( 'dt_override_header_meta', false ); if ( ! $dt_override_header_meta ) : ?>
<meta name="apple-mobile-web-app-title" content="Disciple.Tools">
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/favicon-16x16.png">
<link rel="mask-icon" href="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/safari-pinned-tab.svg" color="#3f729b">
<link rel="shortcut icon" href="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/favicon.ico">
<meta name="msapplication-TileColor" content="#3f729b">
<meta name="msapplication-TileImage" content="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="<?php echo esc_url( get_template_directory_uri() ); ?>/dt-assets/favicons/browserconfig.xml">
<meta name="theme-color" content="#3f729b">
<?php endif; ?>
<title><?php echo esc_html( apply_filters( 'dt_blank_title', __( 'Form', 'disciple_tools' ) ) ) ?></title>
<!-- Page Custom Header-->
<?php do_action( 'dt_blank_head' ) ?>
</head>
<body id="blank-template-body">
<!-- Page Body -->
<?php do_action( 'dt_blank_body' ); ?>
<!-- Page Footer-->
<?php do_action( 'dt_blank_footer' ) ?>
</body>
</html>