Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

6 Posts
3 Users
2 Reactions
1,277 Views
Posts: 4
 Nico
Topic starter
(@nico)
Active Member
Joined: 1 year ago

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: 5486
 Sofy
Admin
(@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
(@nico)
Active Member
Joined: 1 year 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.

Reply
Tutrix
Posts: 1522
(@tutrix)
Noble Member
Joined: 5 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
(@nico)
Active Member
Joined: 1 year ago

Thank you so much Tutrix, it works perfectly 👍 

Reply
Page 1 / 2