Changeset 1176633
- Timestamp:
- 06/08/2015 09:24:48 AM (11 years ago)
- Location:
- restricted-page/trunk
- Files:
-
- 4 added
- 1 edited
-
assets (added)
-
assets/screenshot-1.jpg (added)
-
assets/screenshot-2.jpg (added)
-
assets/screenshot-3.jpg (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
restricted-page/trunk/readme.txt
r1175405 r1176633 8 8 Requires at least: 4.1 9 9 Tested up to: 4.2 10 Stable tag: 4.310 Stable tag: trunk 11 11 12 12 Plugin hides page content from not logged-in users … … 16 16 For logged-in users the plugin can show (in addition to the content of the page) predefined text and “Log out” button. 17 17 For not logged in users plugin shows a predefined texts, login form and sign in button instead the page content. 18 More info at http://wpplugins.ml/restricted-page-plugin 18 19 19 == Settings == 20 In plugin settings (Admins menu “Settings”->”Restricted Page Options”) you can set: 21 For not logged in users: 22 • Text to publish before login form 23 • Text to publish after login form 24 • Show "Sign In" button? 25 • Sign In Button text 26 • Text to publish before Sign in form 27 • Text to publish after Sign in form 28 For logged in users: 29 • Show "Disconnect" button? 30 • Disconnect Button text 31 All options allow to enter text with html tags (eg <h1>, <div>…) 20 == Installation == 21 1. Upload `RestrictedPage` folder to the `/wp-content/plugins/` directory 22 2. Activate the plugin through the 'Plugins' menu in WordPress 23 3. In plugin settings (Admins menu “Settings”->”Restricted Page Options”) you can set plugin options: 32 24 33 == Usage == 34 You can insert plugin’s shortcode in any place of you page. You can place: 35 • [RP_registered_only] 36 • [RP_registered_only]Text to show[/RP_registered_only] – For registered users “Text to show” would be printed in the place of the shortcode before “Sign out” button (if shown). 37 • You can place shortcodes more than 1 time. WARNING. In this case all "[RP_registered_only]" must be closed bu "[/RP_registered_only]" 25 For not logged in users: 26 • Text to publish before login form 27 • Text to publish after login form 28 • Show "Sign In" button? 29 • Sign In Button text 30 • Text to publish before Sign in form 31 • Text to publish after Sign in form 32 33 For logged in users: 34 • Show "Disconnect" button? 35 • Disconnect Button text 36 37 All options allow to enter text with html tags (eg <h1>, <div>…) 38 4. Place plugin shortcode on the pages you want to protect. 39 You can insert plugin’s shortcode in any place of you page. You can place: 40 • [RP_registered_only] 41 • [RP_registered_only]Text to show[/RP_registered_only] – For registered users “Text to show” would be printed in the place of the shortcode before “Sign out” button (if shown). 42 • You can place shortcodes more than 1 time. WARNING. In this case all "[RP_registered_only]" must be closed bu "[/RP_registered_only]" 43 44 == Screenshots == 45 1. Screen shot of plugin options (menu “Settings”->”Restricted Page Options”) 46 2. Protected screen - presentation for logged-in users 47 3. Protected screen - presentation for not logged-in users
Note: See TracChangeset
for help on using the changeset viewer.