hectorcchan
Forum Replies Created
-
It is the easiest way to solve, thank so much!
Thanks for your follow-up, it perfectly works!
Is it possible to amend as just for buddypress(youzify) function only? It is because the new snippet hides all the pages except home page. People cannot see other pages like news, blog page etc.
It would be better if the snippet just hide member/ group/ profile… only.
Thanks,
Thanks for your reply, but the snippet gets something wrong on my website. It shows “There has been a critical error on this website.” when I clicked on the related page.
I also tried to turn off all plugins except Youzify and Buddypress and tested the snippet. It still shows the error out there.
I’m not sure there’re some conflicts between multisite system and the snippet because I’m now using wordpress multisite. It’s my pleasure to get further follow-up replies.
Thanks.
Forum: Networking WordPress
In reply to: Hide “My Site” function on the admin bar and under the dashboardI spent couple of days and finally got the answer. I will share the solution below to help others who may get the same difficulty:
p.s. This is not the perfect solution to solve the problem which mentioned on the topic because the solution also hides the columns when you are in super admin account. You need to enter the URL manually when you want to edit “My Sites”.
How to remove “My Sites” under the dashboard:
Location: wp-admin/includes/plugin.phpfunction adjust_the_wp_menu() { $page = remove_submenu_page( 'index.php', 'my-sites.php' ); } add_action( 'admin_menu', 'adjust_the_wp_menu', 999 );
How to remove “My Sites” on the admin bar:
Location: wp-includes/functions.php// remove links/menus from the admin bar function mytheme_admin_bar_render() { global $wp_admin_bar; $wp_admin_bar->remove_menu('my-sites'); } add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );
Bear in mind that the id “My Sites” may be different. Some may show “my-blogs”. You should check your own id via admin-bar.php
- This reply was modified 3 years, 6 months ago by hectorcchan.
- This reply was modified 3 years, 6 months ago by hectorcchan.
Forum: Networking WordPress
In reply to: Hide “My Site” function on the admin bar and under the dashboardThanks for your reply, they are awesome tools to limit other functions like post management and media uploads. But they seem not to be limited of “My Site”.
Thanks for your recommendation, I’ll opt the plugin to manage other stuffs.
Forum: Networking WordPress
In reply to: Blog post synchronization from child site to parent site@jnashhawkins
Thank you for your reply. It’s a cool plugin but I won’t manage any sub sites. Basically, those sub sites would be controlled by other users. It’s difficult to me to use this plugin under my situation. ThanksForum: Themes and Templates
In reply to: [OnePress] UI conflict with rtmediaIt works, Thanks so much!!!
Forum: Themes and Templates
In reply to: [OnePress] UI conflict with rtmedia@longnguyen Thanks for your reply,
https://sophieseum.com/members/test/media/There is the link. I’m not sure that you can fully understand the whole content since it’s a Chinese website. If you need further information, you can ask me. Thanks.
Thanks for your reply @pooja1210 ,
After I tested it for using the default theme, I found that the white gap was replaced as right sidebar’s tool. It seems that rtmedia is not compatible with my origin theme – OnePress. But something is weird that the layout is fit to “group”. (Create a group from using buddypress, go to the group page and click “media (rtmedia)” through group page)
the pic was updated.
- This reply was modified 3 years, 9 months ago by hectorcchan.