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

Is it possible to edit the "wpForo Forums" widget ?

6 Posts
3 Users
2 Reactions
2,254 Views
Posts: 4
 Nico
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
(@nico)
Active Member
Joined: 2 years ago
[#56124]

Hi from France,
I am in the process of creating a forum which will have categories, forums and a certain number of sub-forums.
I would like to know if it is possible to edit the "Forum tree" so that only the categories and forums appear in the "wpForo Forums" widget and not the sub-forums.

Thank you


Topic Tags
5 Replies
Sofy
Posts: 5774
 Sofy
Admin
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
(@sofy)
Support Team
Joined: 8 years ago

Hi,

You can hide the sub-forums using the CSS code below:

#wpforo #wpf-widget-forums .wpforo-widget-content dl dd dl {display:none;}

The CSS codes should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Styles Tab.  

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.


Reply
Posts: 4
 Nico
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
(@nico)
Active Member
Joined: 2 years ago

Thank you Sofy for your response,
Unfortunately, this does not work despite deleting all caches and refreshing the Front End...
The "- -" are always present in the drop-down menu.

 sub forums

Reply
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 @nico 

Posted by: @nico

The "- -" are always present in the drop-down menu.

the code above doesn't work for drop down
you can hide the subforums via the forum IDs
Example forum ID 1 , 3 and 5

 #wpforo #wpforo-wrap #wpf-widget-forums select option[value="1"],
 #wpforo #wpforo-wrap #wpf-widget-forums select option[value="3"],
 #wpforo #wpforo-wrap #wpf-widget-forums select option[value="5"] { display: none !important;}

Reply
Posts: 4
 Nico
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
(@nico)
Active Member
Joined: 2 years ago

Thank you so much Tutrix, it works perfectly 👍 


Reply
Page 1 / 2
Share: