Child theme
 
Notifications
Clear all

[Solved] Child theme

5 Posts
2 Users
0 Reactions
1,133 Views
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

Hi team

How should this file to my child theme - wp-content/plugins/wpdiscuz/assets/js/wpdiscuz.js, after amending it?

to the exact same location in child theme?

Thanks

Patrick


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6147
 

Hi @pyue6299,

I'm sorry, but I don't follow you. Please clarify a bit. 


   
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

Hi team

I am so sorry. i mean after amending this file:

wp-content/plugins/wpdiscuz/assets/js/wpdiscuz.js

Where should i put it in child theme in order to skip from potential loss of future updates?

Many thanks

Patrick


   
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6147
 

Hi @pyue6299,

Currently, you can customize only the following two files:

  • wpdiscuz.css in /wp-content/themes/mytheme/wpdiscuz/
  • class.WpdiscuzWalker.php in /wp-content/themes/mytheme/wpdiscuz/

The other files cannot be customized in this way.

You should edit the codes in the file itself and copy the file somewhere else and replace the copied file after the plugin update. 


   
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

thanks


   
Share:
Scroll to top