| 开发者 |
shawfactor
jonathanmoorebcsorg |
|---|---|
| 更新时间 | 2022年7月30日 23:34 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.6 及以上 |
| WordPress版本: | 6.0 |
/wp-content/plugins/ directoryYes, currently you need to write a filter function in your functions.php or site specific plugin. `function redirect_nonloggedin_users($current_uri, $redirect_to) { // Redirect users to the homepage return get_option('siteurl') . '/?from=' . $redirect_to; } add_filter('lh_private_buddypress_redirect_login_page', 'redirect_nonloggedin_users', 10, 2);`
In LH Private BuddyPress are 4 existing filters:
Only the members directory, user profile, and activity pages. These can only be visited by logged in users. All other components are still public.
This is primarily for organisations, they usually want a public presence but may not want to disclose membership details to non members.
LH Private Buddypress, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones). If something does not work properly, firstly deactivate ALL other plugins (except Buddypress and this on) and switch to one of the themes that come with core, e.g. twentyfifeen, twentysixteen etc. If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-private-buddypress/. I look there regularly and resolve most queries.
Please contact me for custom work and enhancements here: https://shawfactor.com/contact/