Edit the widget
 
Notifications
Clear all

Edit the widget  

  RSS

Doctor7771
(@doctor7771)
Member Customer
Joined: 2 years ago
Posts: 15
18/09/2019 10:11 am  

Hi. Where to find the file to edit the widget of recent topics and messages.

Thanks

This topic was modified 8 months ago by Doctor7771

Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 4116
18/09/2019 1:43 pm  

Hi @doctor7771,

Thank you for contacting us.

I'm sorry, but I don't follow you well. Currently, the wpDiscuz Widgets add-on has the following five tabs:

  • Most Voted Comments
  • Active Comment Threads
  • Most Commented Posts
  • Active Commenters
  • Recent Comments

Please let us know which one do you mean and what exactly you'd like to change? 


ReplyQuote
Doctor7771
(@doctor7771)
Member Customer
Joined: 2 years ago
Posts: 15
18/09/2019 1:52 pm  

I mean html editing display a list of topics and posts in the sidebar


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 4116
18/09/2019 1:57 pm  

@doctor7771

You mean wpForo widgets (not wpDiscuz), don't you?


ReplyQuote
Doctor7771
(@doctor7771)
Member Customer
Joined: 2 years ago
Posts: 15
18/09/2019 2:01 pm  

Yes, It widget forum (wpforo) I mean


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 4116
18/09/2019 2:14 pm  

@doctor7771,

This topic is moved to the corresponding forum. 

You've asked your question in the wrong forum. Your topic was opened in wpDiscuz Widgets paid add-on's support forum.

Regarding your main question: you should edit the following two classes in the functions-template.php file in /wp-content/plugins/wpforo/wpf-includes/ folder

  • wpForo_Widget_recent_replies
  • wpForo_Widget_recent_topics

Important: There is no update-safe way for widgets customization. All changes will be lost after the plugin update. You should keep the changes somewhere locally to re-implement the changes after the wpForo plugin update. 


ReplyQuote
Doctor7771
(@doctor7771)
Member Customer
Joined: 2 years ago
Posts: 15
18/09/2019 2:23 pm  

Thank you? Astghik


ReplyQuote
Share: