Notifications
Clear all

[Solved] how to use default style and dark style at different pages

3 Posts
2 Users
0 Likes
1,081 Views
(@superhawk)
Member Customer
Joined: 5 years ago
Posts: 13
Topic starter  

Hi team  

my site has a category using dark style, while other pages are default style ,is there a way to use dark style wpdiscuz  in one category  and default  style in other pages?

 

thanks!


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5908
 

Hi @superhawk,

If you're a develpoer you can do it using the following hook:

wpdiscuz_container_classes

You should add a PHP code in your active theme. You should add the "wpd-dark" class on all forms where you need to load the wpDiscuz with dark style. 


   
ReplyQuote
(@superhawk)
Member Customer
Joined: 5 years ago
Posts: 13
Topic starter  

@astghik

Thanks a lot


   
ReplyQuote
Share:
Scroll to top