AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Solved] 'Forum Dashboard'

3 Posts
2 Users
1 Reactions
1,019 Views
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@deeveearr)
Active Member
Joined: 6 years ago
[#30533]

Hi,

A while ago, I asked in the WordPress Forums how to remove 'Forum Dashboard' from my top admin bar, and got the reply:

Add this to your functions.php - remove_action('admin_bar_menu', 'wpforo_add_adminbar_links', 999);

This little snippet was a godsend, until a few weeks ago when it stopped working.

Even worse now (according to the staff at Perfmatters) it is adding 10 seconds loading time throughout the admin section, and 2-3 seconds loading time on the front-end due to those silly little emojis that are now loaded inside 'Forum Dashboard', meaning that I now have to 'allow emojis' rather than 'disable emojis', which is the way that I usually work.

So the obvious question that I'm asking here is:

How do I permanently remove 'Forum Dashboard' from my top admin bar now that the above script has stopped working?

 

wpForo Version
2.1.5
WordPress Version
6.1

2 Replies
Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago

Hi @deeveearr

try (functions.php)

add_action( 'admin_bar_menu', function($wp_admin_bar) {
	$wp_admin_bar->remove_node('wpf-community');
}, PHP_INT_MAX );

or this CSS Code

#wp-admin-bar-wpf-community {
  display: none;
}

1 Reply
(@deeveearr)
Joined: 6 years ago

Active Member
Posts: 9
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix 

I've already tried hiding it with CSS, but that's not getting rid of it.

The functions.php snippet from above seems to do the trick, thank you so much!

 


Share: