PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.5.2
WP Coder – Insert & Manage Code Snippets v4.5.2
4.5.2 4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 All 40 releases
← All changes | classes/Snippets/pages/change.php +149 -120 3.4 → 4.5.2 View file →
@@ -3,139 +3,168 @@
3 3 defined( 'ABSPATH' ) || exit;
4 4
5 5 ?>
6 6
7 -<dl class="wowp-snippet__list">
7 +<div class="wowp-snippet__list">
8 8
9 - <dt><label><?php
10 - self::field( 'checkbox', 'change_logo_on_site_icon' ); ?>Change logo on Login Page</label></dt>
11 - <dd>Change the default WP logo on Site Icon. Go to the <a href="<?php
12 - echo esc_url( get_admin_url() ); ?>customize.php">customizer</a> to set or change your site icon.
13 - </dd>
9 + <div class="wowp-snippet__item">
10 + <div class="wowp-snippet__item-header">
11 + <label for="change_logo_on_site_icon">Change logo on Login Page</label>
12 + <p class="wowp-snippet__item-description">Change the default WP logo on Site Icon. Go to the <a href="<?php
13 + echo esc_url( get_admin_url() ); ?>customize.php">customizer</a> to set or change your site icon.</p>
14 + </div>
15 + <div class="wowp-field has-checkbox">
16 + <label class="switch">
17 + <?php self::field( 'checkbox', 'change_logo_on_site_icon' ); ?>
18 + <span class="slider"></span>
19 + </label>
20 + </div>
21 + </div>
14 22
15 - <dt><label><?php
16 - self::field( 'checkbox', 'change_logo_link' ); ?>Change URL for logo on Login Page</label></dt>
17 - <dd>Change the default wordpress.org URL of the logo to the blog home URL.</dd>
23 + <div class="wowp-snippet__item">
24 + <div class="wowp-snippet__item-header">
25 + <label for="change_logo_link">Change URL for logo on Login Page</label>
26 + <p class="wowp-snippet__item-description">Change the default wordpress.org URL of the logo to the blog home
27 + URL.</p>
28 + </div>
29 + <div class="wowp-field has-checkbox">
30 + <label class="switch">
31 + <?php self::field( 'checkbox', 'change_logo_link' ); ?>
32 + <span class="slider"></span>
33 + </label>
34 + </div>
35 + </div>
18 36
19 - <dt><label><?php
20 - self::field( 'checkbox', 'change_redirect_after_login' ); ?>Change Redirect After Login</label></dt>
21 - <dd>Change the redirect URL for all users after Login.
22 - <details class="wpcoder-expand">
23 - <summary class="wpcoder-expand__title">Expand</summary>
24 - <div class="wpcoder-expand__content">
25 - <fieldset>
26 - <div class="wowp-field">
27 - <label><span class="label">Redirect to: <?php echo esc_url(get_site_url());?>/</span>
28 - <?php
29 - self::field( 'text', 'change_redirect_login_link', '', 'account' ); ?>
30 - </label>
31 - </div>
32 - </fieldset>
33 -
37 + <div class="wowp-snippet__item">
38 + <div class="wowp-snippet__item-header">
39 + <label for="change_redirect_after_login">Change Redirect After Login</label>
40 + <p class="wowp-snippet__item-description">Change the redirect URL for all users after Login.</p>
41 + </div>
42 + <div class="wowp-field has-checkbox">
43 + <label class="switch">
44 + <?php self::field( 'checkbox', 'change_redirect_after_login' ); ?>
45 + <span class="slider"></span>
46 + </label>
47 + </div>
48 + <div class="wowp-snippet__item-expand is-hidden">
49 + <div class="wowp-field">
50 + <label>
51 + <span class="label">Redirect to: <?php echo esc_url( get_site_url() ); ?>/</span>
52 + <?php self::field( 'text', 'change_redirect_login_link', '', 'account' ); ?>
53 + </label>
34 54 </div>
35 - </details>
36 - </dd>
55 + </div>
56 + </div>
37 57
38 - <dt><label><?php
39 - self::field( 'checkbox', 'change_redirect_after_logout' ); ?>Change Redirect After Logout</label></dt>
40 - <dd>Change the redirect URL for all users after Logout.
41 - <details class="wpcoder-expand">
42 - <summary class="wpcoder-expand__title">Expand</summary>
43 - <div class="wpcoder-expand__content">
44 - <fieldset>
45 - <div class="wowp-field">
46 - <label><span class="label">Redirect to: <?php echo esc_url(get_site_url());?>/</span>
47 - <?php
48 - self::field( 'text', 'change_redirect_logout_link', '', 'visit-again' ); ?>
49 - </label>
50 - </div>
51 - </fieldset>
52 -
58 + <div class="wowp-snippet__item">
59 + <div class="wowp-snippet__item-header">
60 + <label for="change_redirect_after_logout">Change Redirect After Logout</label>
61 + <p class="wowp-snippet__item-description">Change the redirect URL for all users after Logout.</p>
62 + </div>
63 + <div class="wowp-field has-checkbox">
64 + <label class="switch">
65 + <?php self::field( 'checkbox', 'change_redirect_after_logout' ); ?>
66 + <span class="slider"></span>
67 + </label>
68 + </div>
69 + <div class="wowp-snippet__item-expand is-hidden">
70 + <div class="wowp-field">
71 + <label>
72 + <span class="label">Redirect to: <?php echo esc_url( get_site_url() ); ?>/</span>
73 + <?php self::field( 'text', 'change_redirect_logout_link', '', 'visit-again' ); ?>
74 + </label>
53 75 </div>
54 - </details>
55 - </dd>
76 + </div>
77 + </div>
56 78
57 - <dt><label><?php
58 - self::field( 'checkbox', 'change_revisions_control' ); ?>Change Number of Post Revisions</label></dt>
59 - <dd>Set the limiting post revisions to reduce Database size.
60 - <details class="wpcoder-expand">
61 - <summary class="wpcoder-expand__title">Expand</summary>
62 - <div class="wpcoder-expand__content">
63 - <fieldset>
64 - <div class="wowp-field">
65 - <label><span class="label">Number of revisions</span>
66 - <?php
67 - self::field( 'number', 'change_revisions_control_number', 10 ); ?>
68 - </label>
69 - </div>
70 - </fieldset>
71 -
79 + <div class="wowp-snippet__item">
80 + <div class="wowp-snippet__item-header">
81 + <label for="change_revisions_control">Change Number of Post Revisions</label>
82 + <p class="wowp-snippet__item-description">Set the limiting post revisions to reduce Database size.</p>
83 + </div>
84 + <div class="wowp-field has-checkbox">
85 + <label class="switch">
86 + <?php self::field( 'checkbox', 'change_revisions_control' ); ?>
87 + <span class="slider"></span>
88 + </label>
89 + </div>
90 + <div class="wowp-snippet__item-expand is-hidden">
91 + <div class="wowp-field">
92 + <label>
93 + <span class="label">Number of revisions</span>
94 + <?php self::field( 'number', 'change_revisions_control_number', 10 ); ?>
95 + </label>
72 96 </div>
73 - </details>
74 - </dd>
97 + </div>
98 + </div>
75 99
76 - <dt><label><?php
77 - self::field( 'checkbox', 'change_oEmbed_size' ); ?>Change oEmbed Max Width and Height</label></dt>
78 - <dd>Change a max Width and Height for the embeds using oEmbed in the content.
79 - <details class="wpcoder-expand">
80 - <summary class="wpcoder-expand__title">Expand</summary>
81 - <div class="wpcoder-expand__content">
82 - <fieldset>
83 - <div class="wowp-field">
84 - <label><span class="label">Width</span>
85 - <?php
86 - self::field( 'number', 'change_oEmbed_size_width', '', '400' ); ?>
87 - </label>
88 - </div>
89 - <div class="wowp-field">
90 - <label><span class="label">Height</span>
91 - <?php
92 - self::field( 'number', 'change_oEmbed_size_height', '', '280' ); ?>
93 - </label>
94 - </div>
95 - </fieldset>
96 -
100 + <div class="wowp-snippet__item">
101 + <div class="wowp-snippet__item-header">
102 + <label for="change_oEmbed_size">Change oEmbed Max Width and Height</label>
103 + <p class="wowp-snippet__item-description">Set the limiting post revisions to reduce Database size.</p>
104 + </div>
105 + <div class="wowp-field has-checkbox">
106 + <label class="switch">
107 + <?php self::field( 'checkbox', 'change_oEmbed_size' ); ?>
108 + <span class="slider"></span>
109 + </label>
110 + </div>
111 + <div class="wowp-snippet__item-expand is-hidden">
112 + <div class="wowp-fields__group">
113 + <div class="wowp-field">
114 + <label><span class="label">Width</span>
115 + <?php self::field( 'number', 'change_oEmbed_size_width', '', '400' ); ?>
116 + </label>
117 + </div>
118 + <div class="wowp-field">
119 + <label><span class="label">Height</span>
120 + <?php self::field( 'number', 'change_oEmbed_size_height', '', '280' ); ?>
121 + </label>
122 + </div>
97 123 </div>
98 - </details>
99 - </dd>
124 + </div>
125 + </div>
100 126
101 - <dt><label><?php
102 - self::field( 'checkbox', 'change_read_more' ); ?>Change Read More Text for Excerpts</label></dt>
103 - <dd>Customize the "Read More" text that shows up after excerpts.
104 - <details class="wpcoder-expand">
105 - <summary class="wpcoder-expand__title">Expand</summary>
106 - <div class="wpcoder-expand__content">
107 - <fieldset>
108 - <div class="wowp-field">
109 - <label><span class="label">Text</span>
110 - <?php
111 - self::field( 'text', 'change_read_more_text', '', 'Read More' ); ?>
112 - </label>
113 - </div>
114 - </fieldset>
115 -
127 + <div class="wowp-snippet__item">
128 + <div class="wowp-snippet__item-header">
129 + <label for="change_read_more">Change Read More Text for Excerpts</label>
130 + <p class="wowp-snippet__item-description">Customize the "Read More" text that shows up after excerpts.</p>
131 + </div>
132 + <div class="wowp-field has-checkbox">
133 + <label class="switch">
134 + <?php self::field( 'checkbox', 'change_read_more' ); ?>
135 + <span class="slider"></span>
136 + </label>
137 + </div>
138 + <div class="wowp-snippet__item-expand is-hidden">
139 + <div class="wowp-field">
140 + <label>
141 + <span class="label">Text</span>
142 + <?php self::field( 'text', 'change_read_more_text', '', 'Read More' ); ?>
143 + </label>
116 144 </div>
117 - </details>
118 - </dd>
145 + </div>
146 + </div>
119 147
120 - <dt><label><?php
121 - self::field( 'checkbox', 'change_expiration_remember_me' ); ?>Extend Login Expiration Time</label></dt>
122 - <dd>Toggling "Remember Me" will keep you logged in for your needed enter days instead of 14 days.
123 - <details class="wpcoder-expand">
124 - <summary class="wpcoder-expand__title">Expand</summary>
125 - <div class="wpcoder-expand__content">
126 - <fieldset>
127 - <div class="wowp-field">
128 - <label><span class="label">Days</span>
129 - <?php
130 - self::field( 'number', 'change_expiration_remember_me_day', 30, 14 ); ?>
131 - </label>
132 - </div>
133 - </fieldset>
134 -
148 + <div class="wowp-snippet__item">
149 + <div class="wowp-snippet__item-header">
150 + <label for="change_expiration_remember_me">Extend Login Expiration Time</label>
151 + <p class="wowp-snippet__item-description">Toggling "Remember Me" will keep you logged in for your needed
152 + enter days instead of 14 days.</p>
153 + </div>
154 + <div class="wowp-field has-checkbox">
155 + <label class="switch">
156 + <?php self::field( 'checkbox', 'change_expiration_remember_me' ); ?>
157 + <span class="slider"></span>
158 + </label>
159 + </div>
160 + <div class="wowp-snippet__item-expand is-hidden">
161 + <div class="wowp-field">
162 + <label>
163 + <span class="label">Days</span>
164 + <?php self::field( 'number', 'change_expiration_remember_me_day', 30, 14 ); ?>
165 + </label>
135 166 </div>
136 - </details>
137 - </dd>
167 + </div>
168 + </div>
138 169
139 -
140 -
141 -</dl>
170 +</div>