| 1 |
<?php |
| 2 |
|
| 3 |
defined( 'ABSPATH' ) || exit; |
| 4 |
|
| 5 |
?> |
| 6 |
|
| 7 |
<div class="wowp-snippet__list"> |
| 8 |
|
| 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> |
| 22 |
|
| 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> |
| 36 |
|
| 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> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
</div> |
| 57 |
|
| 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> |
| 75 |
</div> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
|
| 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> |
| 96 |
</div> |
| 97 |
</div> |
| 98 |
</div> |
| 99 |
|
| 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> |
| 123 |
</div> |
| 124 |
</div> |
| 125 |
</div> |
| 126 |
|
| 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> |
| 144 |
</div> |
| 145 |
</div> |
| 146 |
</div> |
| 147 |
|
| 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> |
| 166 |
</div> |
| 167 |
</div> |
| 168 |
</div> |
| 169 |
|
| 170 |
</div> |
| 171 |
|