-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadmin-page-settings.php
More file actions
50 lines (42 loc) · 1.14 KB
/
admin-page-settings.php
File metadata and controls
50 lines (42 loc) · 1.14 KB
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
<?php
/**
* The Settings screen.
*
* @package Progress_Planner
*/
// Exit if accessed directly.
if ( ! \defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wrap prpl-wrap prpl-settings-wrap">
<div class="prpl-header">
<div class="prpl-header-logo">
<?php \progress_planner()->get_ui__branding()->the_logo(); ?>
</div>
</div>
<div class="prpl-settings-form-wrap">
<h1>
<span>
<?php \esc_html_e( 'Your Progress Planner settings', 'progress-planner' ); ?>
</span>
</h1>
<form id="prpl-settings">
<?php \progress_planner()->the_view( 'page-settings/pages.php' ); ?>
<div id="prpl-grid-column-wrapper">
<?php \progress_planner()->the_view( 'page-settings/post-types.php' ); ?>
<?php \progress_planner()->the_view( 'page-settings/settings.php' ); ?>
</div>
<?php \progress_planner()->the_view( 'page-settings/api-status.php' ); ?>
<?php \wp_nonce_field( 'progress_planner' ); ?>
<button
id="prpl-settings-submit"
class="prpl-button-primary"
type="button"
style="display:block;width:min-content;"
>
<?php \esc_attr_e( 'Save', 'progress-planner' ); ?>
</button>
</form>
</div>
</div>