Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:


wpDiscuz Support Forum wpForo Support Forum

Need to put Comment Form above Page Comments OR use a Slide In or ANYTHING

New Member
Joined: 9 months ago
Posts: 2
Topic starter  

I need to put the Comment Forum at the Top of the Page Comments...  I found a thread answer providing that ability but the code is not working


Putting this shortcode above the page comments so users can easily leave a comment



Putting this in function.php

function my_wpdiscuz_shortcode() {
  if (file_exists(ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php')) {
      include_once ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php';
      return ob_get_clean();
add_shortcode('wpdiscuz_comments', 'my_wpdiscuz_shortcode');

Support Team Admin
Joined: 4 years ago
Posts: 5044

This is the old shortcode you should use the code provided by Taron here:

The is another easiest way you can choose. You'll just need to move the comments_template() function at the top of the page in the theme template files. 

Scroll to top