Notifications
Clear all

wpForo 1.x.x [Closed] Leave A Reply Box

7 Posts
3 Users
2 Reactions
19.2 K Views
Posts: 393
(@anonymous3542)
Honorable Member
Joined: 8 years ago

And also for edit... you can shorten the script somewhat too - just paste the below


jQuery(".wpforo-reply.wpf-action").click(function(){
jQuery("#wpf-form-wrapper").show();
});
jQuery(".wpf-action.wpforo-quote").click(function(){
jQuery("#wpf-form-wrapper").show();
});
jQuery(".wpforo-edit.wpf-action").click(function(){
jQuery("#wpf-form-wrapper").show();
});

If you have a theme that supports additional JS, you can do this without the plugin quoted by @sofy (as I am doing)


Sofy
Posts: 5513
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Thank you very much @anonymous3542, I only suggest you use a shorter version of the code: 

jQuery(".wpforo-reply.wpf-action, .wpf-action.wpforo-quote, .wpforo-edit.wpf-action").click(function(){
          jQuery("#wpf-form-wrapper").show();
});

Page 2 / 2