PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.5.1
WP Coder – Insert & Manage Code Snippets v3.5.1
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 3.5.1 All 39 releases
wp-coder / classes / Snippets / pages / change.php

change.php in WP Coder – Insert & Manage Code Snippets 3.5.1, at classes/Snippets/pages/change.php

142 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4
5 ?>
6
7 <dl class="wowp-snippet__list">
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>
14
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>
18
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
34 </div>
35 </details>
36 </dd>
37
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
53 </div>
54 </details>
55 </dd>
56
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
72 </div>
73 </details>
74 </dd>
75
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
97 </div>
98 </details>
99 </dd>
100
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
116 </div>
117 </details>
118 </dd>
119
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
135 </div>
136 </details>
137 </dd>
138
139
140
141 </dl>
142