开发者 | shames0 |
---|---|
更新时间 | 2013年12月14日 00:10 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.8 |
The 'login' page I created is showing in my navigation bar of my site! I don't want it there. To prevent this you simply need to create a menu from appearance --> menus on your wp dasboard. Be sure you add only the pages you want shown in the navigation to your new menu, and be sure to save it as the primary navigation menu for your site to use. Why is the plugin named 'Sprivate'? I'm a plugin developer not a poem writer! I know the name isn't exactly descriptive or nice to look at. The 'S' I guess stands for 'Simple' though many might not agree that it is 'simple' to use. So you can think of the 'S' as standing for 'Slick', or 'Stupid' depending on your own opinion of the plugin. What is the [posts] shortcode? This was created to allow you to display any number of post titles that you want on any of your pages. However, the shortcode is intended to be used on the same page aso your [Sprivate-login-form] shortcode so that a 'preview' of the posts is listed on that page. This way your users know that you have posted new content just by looking at the login page. The content of these posts is still protected from the view of unauthenticated users. The use of this shortcode is optional. I activated sprivate, but it is not redirecting users to the login page! You should be able to login to the wp-admin area of your site still. After you are logged in go to the settings --> sprivate area and be sure you read and follow the instructions listed just above the 'Redirect to URL' setting. 2.1 *Fixes bugs that were introduced in 2.0. Including the strpos 'empty delimeter' error that was crashing some sites, and "call_user_func_array() expects parameter 1 to be a valid callback, function" showing up in some error_log files. 2.0 Added security enhancements to RSS feeds. Now includes the option to allow unauthenticated users to visit specified pages other than the login page. *Option to show titles of posts on RSS feeds so 'feed readers' can tell when you've updated your site. 1.5.1 *Changed plugin site link. 1.5 Added [posts] shortcode that can be used anywhere on the site, but it's mainly designed as an option to be added to the login page to display the 'n' latest post titles as a preview to what is on the site. Added Requested URL redirect. This makes it so that when someone tries to access a specific URL such as: http://domain.com/somepage/anotherpage/ then they will be redirected to that location after login is successful. *Improved F.A.Q and usage documentation. 1.0 *Initial Release.