javascript – How to move bbPress reply form to bottom when clicking the cancel button

Question

I have a bbPress forum in which I have the reply form at the top of the page instead of the default bottom. When a user wishes to reply to someone and then they cancel their reply, the reply form moves to the bottom of the screen again. How do I change this to move back to the top.

The code that is responsible for this is in ‘wp-content/plugins/bbpress/templates/default/js/reply.js’. Any ideas on how and where to alter this code to place the form before the content when the cancel button is pressed?

0
randomuser37487593 4 months 2021-07-11T07:16:28-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse