| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Admin View: General Settings |
| 5 |
*/ |
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; |
| 8 |
} |
| 9 |
?> |
| 10 |
|
| 11 |
<h3><?php echo __( 'Flexible, Lightweight and Fast', 'userswp' ); ?></h3> |
| 12 |
<p><?php echo __( 'UsersWP allows you to add a customizable register and login form to your website. |
| 13 |
It also adds an extended profile page that override the default author page. |
| 14 |
UsersWP has been built to be lightweight and fast', 'userswp' ); ?></p> |
| 15 |
|
| 16 |
<h3><?php echo __( 'Less options, more hooks', 'userswp' ); ?></h3> |
| 17 |
<p><?php echo __( 'We cut down the options to the bare minimum and you will not find any fancy |
| 18 |
styling options in this plugin as we believe they belong in your theme. |
| 19 |
This doesn\'t mean that you cannot customize the plugin behaviour. |
| 20 |
To do this we provided a long list of Filters and Actions for any developer |
| 21 |
to extend UsersWP to fit their needs.', 'userswp' ); ?></p> |
| 22 |
|
| 23 |
<h3><?php echo __( 'Override Templates', 'userswp' ); ?></h3> |
| 24 |
<p><?php echo sprintf(__( 'If you need to change the look and feel of any UsersWP templates, |
| 25 |
simply create a folder named userswp inside your active child theme |
| 26 |
and copy the template you wish to modify in it. You can now modify the template. |
| 27 |
The plugin will use your modified version and you don\'t have to worry about plugin or theme updates. |
| 28 |
%s Click here for examples %s', 'userswp' ), '<a href="https://userswp.io/docs/override-templates/">', '</a>'); ?></p> |
| 29 |
|
| 30 |
<h3><?php echo __( 'Add-ons', 'userswp' ); ?></h3> |
| 31 |
<p><?php echo sprintf(__( 'We have a long list of free and premium add-ons that will help you extend users management on your website. |
| 32 |
%s Click here for our official free and premium add-ons %s', 'userswp' ), '<a href="https://userswp.io/downloads/category/addons/">', '</a>'); ?></p> |
| 33 |
|
| 34 |
<h3><?php echo __( 'Available Shortcodes', 'userswp' ); ?></h3> |
| 35 |
<table class="uwp-form-table"> |
| 36 |
|
| 37 |
<?php do_action('uwp_before_general_shortcodes_content'); ?> |
| 38 |
|
| 39 |
<tr valign="top"> |
| 40 |
<th scope="row"><?php echo __( 'User Profile Shortcode', 'userswp' ); ?></th> |
| 41 |
<td> |
| 42 |
<span class="short_code">[uwp_profile]</span> |
| 43 |
<span class="description"><?php echo __( 'This is the shortcode for the front end user\'s profile.', 'userswp' ); ?></span> |
| 44 |
</td> |
| 45 |
</tr> |
| 46 |
|
| 47 |
<tr valign="top"> |
| 48 |
<th scope="row"><?php echo __( 'Register Form Shortcode', 'userswp' ); ?></th> |
| 49 |
<td> |
| 50 |
<span class="short_code">[uwp_register]</span> |
| 51 |
<span class="description"><?php echo __( 'This is the shortcode for the front end register form.', 'userswp' ); ?></span> |
| 52 |
</td> |
| 53 |
</tr> |
| 54 |
|
| 55 |
<tr valign="top"> |
| 56 |
<th scope="row"><?php echo __( 'Login Form Shortcode', 'userswp' ); ?></th> |
| 57 |
<td> |
| 58 |
<span class="short_code">[uwp_login]</span> |
| 59 |
<span class="description"><?php echo __( 'This is the shortcode for the front end login form.', 'userswp' ); ?></span> |
| 60 |
</td> |
| 61 |
</tr> |
| 62 |
|
| 63 |
<tr valign="top"> |
| 64 |
<th scope="row"><?php echo __( 'Account Form Shortcode', 'userswp' ); ?></th> |
| 65 |
<td> |
| 66 |
<span class="short_code">[uwp_account]</span> |
| 67 |
<span class="description"><?php echo __( 'This is the shortcode for the front end account form.', 'userswp' ); ?></span> |
| 68 |
</td> |
| 69 |
</tr> |
| 70 |
|
| 71 |
<tr valign="top"> |
| 72 |
<th scope="row"><?php echo __( 'Forgot Password Form Shortcode', 'userswp' ); ?></th> |
| 73 |
<td> |
| 74 |
<span class="short_code">[uwp_forgot]</span> |
| 75 |
<span class="description"><?php echo __( 'This is the shortcode for the front end forgot password form.', 'userswp' ); ?></span> |
| 76 |
</td> |
| 77 |
</tr> |
| 78 |
|
| 79 |
<tr valign="top"> |
| 80 |
<th scope="row"><?php echo __( 'Change Password Form Shortcode', 'userswp' ); ?></th> |
| 81 |
<td> |
| 82 |
<span class="short_code">[uwp_change]</span> |
| 83 |
<span class="description"><?php echo __( 'This is the shortcode for the front end change password form.', 'userswp' ); ?></span> |
| 84 |
</td> |
| 85 |
</tr> |
| 86 |
|
| 87 |
<tr valign="top"> |
| 88 |
<th scope="row"><?php echo __( 'Reset Password Form Shortcode', 'userswp' ); ?></th> |
| 89 |
<td> |
| 90 |
<span class="short_code">[uwp_reset]</span> |
| 91 |
<span class="description"><?php echo __( 'This is the shortcode for the front end reset password form.', 'userswp' ); ?></span> |
| 92 |
</td> |
| 93 |
</tr> |
| 94 |
|
| 95 |
<tr valign="top"> |
| 96 |
<th scope="row"><?php echo __( 'Users List Shortcode', 'userswp' ); ?></th> |
| 97 |
<td> |
| 98 |
<span class="short_code">[uwp_users]</span> |
| 99 |
<span class="description"><?php echo __( 'This is the shortcode for the front end users list.', 'userswp' ); ?></span> |
| 100 |
</td> |
| 101 |
</tr> |
| 102 |
|
| 103 |
<tr valign="top"> |
| 104 |
<th scope="row"><?php echo __( 'Output Location Shortcode', 'userswp' ); ?></th> |
| 105 |
<td> |
| 106 |
<span class="short_code">[uwp_output_location location=""]</span> |
| 107 |
<span class="description"><?php echo __( 'This is the shortcode for displaying user data at location selected while creating field via form builder. Location can be users, profile_side, more_info', 'userswp' ); ?></span> |
| 108 |
</td> |
| 109 |
</tr> |
| 110 |
|
| 111 |
<tr valign="top"> |
| 112 |
<th scope="row"><?php echo __( 'Profile Header Shortcode', 'userswp' ); ?></th> |
| 113 |
<td> |
| 114 |
<span class="short_code">[uwp_profile_header hide_cover="" hide_avatar="" allow_change=""]</span> |
| 115 |
<span class="description"><?php echo __( 'This is the shortcode for showing displayed user\'s profile picture and cover image . You can hide cover image, avatar with parameters and also disallow changing profile cover image and avatar with value 1. ', 'userswp' ); ?></span> |
| 116 |
</td> |
| 117 |
</tr> |
| 118 |
|
| 119 |
<tr valign="top"> |
| 120 |
<th scope="row"><?php echo __( 'Profile Section Shortcode', 'userswp' ); ?></th> |
| 121 |
<td> |
| 122 |
<span class="short_code">[uwp_profile_section type="" position=""]</span> |
| 123 |
<span class="description"><?php echo __( 'This is the shortcode for wrapping the things left and right on profile page. Type can be open or close. Position can be left or right. Open section requires close section else it can break the layout.', 'userswp' ); ?></span> |
| 124 |
</td> |
| 125 |
</tr> |
| 126 |
|
| 127 |
<tr valign="top"> |
| 128 |
<th scope="row"><?php echo __( 'User Title Shortcode', 'userswp' ); ?></th> |
| 129 |
<td> |
| 130 |
<span class="short_code">[uwp_user_title tag="" user_id=""]</span> |
| 131 |
<span class="description"><?php echo __( 'This is the shortcode for showing displayed user\'s name. You can pass heading tag from h1 to h6 and user_id if you want to display for specific user ID. ', 'userswp' ); ?></span> |
| 132 |
</td> |
| 133 |
</tr> |
| 134 |
|
| 135 |
<tr valign="top"> |
| 136 |
<th scope="row"><?php echo __( 'User Avatar Shortcode', 'userswp' ); ?></th> |
| 137 |
<td> |
| 138 |
<span class="short_code">[uwp_user_avatar tag="" link="" size="" user_id=""]</span> |
| 139 |
<span class="description"><?php echo __( 'This is the shortcode for showing user\'s avatar image and name. You can pass tag h1 to h6, div, p for user name, 1 to enable link to profile page, avatar size in px and user_id if you want to display for specific user. ', 'userswp' ); ?></span> |
| 140 |
</td> |
| 141 |
</tr> |
| 142 |
|
| 143 |
<tr valign="top"> |
| 144 |
<th scope="row"><?php echo __( 'User Meta Shortcode', 'userswp' ); ?></th> |
| 145 |
<td> |
| 146 |
<span class="short_code">[uwp_user_meta key="" user_id="" show="" css_class=""]</span> |
| 147 |
<span class="description"><?php echo __( 'This is the shortcode for showing displayed user\'s meta value based on key provided. You can pass icon-value, label-value, label, value, value-strip for how to show value. You can user_id if you want to display for specific user. ', 'userswp' ); ?></span> |
| 148 |
</td> |
| 149 |
</tr> |
| 150 |
|
| 151 |
<tr valign="top"> |
| 152 |
<th scope="row"><?php echo __( 'Profile tabs Shortcode', 'userswp' ); ?></th> |
| 153 |
<td> |
| 154 |
<span class="short_code">[uwp_profile_tabs]</span> |
| 155 |
<span class="description"><?php echo __( 'This is the shortcode for displaying profile tabs for user\'s profile page. ', 'userswp' ); ?></span> |
| 156 |
</td> |
| 157 |
</tr> |
| 158 |
|
| 159 |
<tr valign="top"> |
| 160 |
<th scope="row"><?php echo __( 'Profile Social Fields Shortcode', 'userswp' ); ?></th> |
| 161 |
<td> |
| 162 |
<span class="short_code">[uwp_profile_social exclude=""]</span> |
| 163 |
<span class="description"><?php echo __( 'This is the shortcode for displaying user\'s social fields which are selected by adding uwp_social class while creating field via form builder. You can pass comma separated keys to exclude from displaying.', 'userswp' ); ?></span> |
| 164 |
</td> |
| 165 |
</tr> |
| 166 |
|
| 167 |
<tr valign="top"> |
| 168 |
<th scope="row"><?php echo __( 'Profile Actions Shortcode', 'userswp' ); ?></th> |
| 169 |
<td> |
| 170 |
<span class="short_code">[uwp_profile_actions]</span> |
| 171 |
<span class="description"><?php echo __( 'This is the shortcode for user\'s profile actions like verify, transfer points etc. ', 'userswp' ); ?></span> |
| 172 |
</td> |
| 173 |
</tr> |
| 174 |
|
| 175 |
<tr valign="top"> |
| 176 |
<th scope="row"><?php echo __( 'User Actions Shortcode', 'userswp' ); ?></th> |
| 177 |
<td> |
| 178 |
<span class="short_code">[uwp_user_actions]</span> |
| 179 |
<span class="description"><?php echo __( 'This is the shortcode for displaying user\'s actions like add friend, follow etc. ', 'userswp' ); ?></span> |
| 180 |
</td> |
| 181 |
</tr> |
| 182 |
|
| 183 |
<tr valign="top"> |
| 184 |
<th scope="row"><?php echo __( 'Users Search Shortcode', 'userswp' ); ?></th> |
| 185 |
<td> |
| 186 |
<span class="short_code">[uwp_users_search]</span> |
| 187 |
<span class="description"><?php echo __( 'This is the shortcode for displaying search form for searching users.', 'userswp' ); ?></span> |
| 188 |
</td> |
| 189 |
</tr> |
| 190 |
|
| 191 |
<tr valign="top"> |
| 192 |
<th scope="row"><?php echo __( 'Users Loop Actions Shortcode', 'userswp' ); ?></th> |
| 193 |
<td> |
| 194 |
<span class="short_code">[uwp_users_loop_actions]</span> |
| 195 |
<span class="description"><?php echo __( 'This is the shortcode for displaying users loop actions like views and filters.', 'userswp' ); ?></span> |
| 196 |
</td> |
| 197 |
</tr> |
| 198 |
|
| 199 |
<tr valign="top"> |
| 200 |
<th scope="row"><?php echo __( 'Users Loop Shortcode', 'userswp' ); ?></th> |
| 201 |
<td> |
| 202 |
<span class="short_code">[uwp_users_loop]</span> |
| 203 |
<span class="description"><?php echo __( 'This is the shortcode for displaying users list.', 'userswp' ); ?></span> |
| 204 |
</td> |
| 205 |
</tr> |
| 206 |
|
| 207 |
<tr valign="top"> |
| 208 |
<th scope="row"><?php echo __( 'Author box', 'userswp' ); ?></th> |
| 209 |
<td> |
| 210 |
<span class="short_code">[uwp_author_box]</span> |
| 211 |
<span class="description"><?php echo __( 'This is the shortcode for displaying author box.', 'userswp' ); ?></span> |
| 212 |
</td> |
| 213 |
</tr> |
| 214 |
|
| 215 |
<?php do_action('uwp_after_general_shortcodes_content'); ?> |
| 216 |
|
| 217 |
</table> |