Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
1,309 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: 7 years ago
Posts: 6191
 

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