Support » Developing with WordPress » comment_form function not displaying the comments form

  • Resolved rv1994

    (@rv1994)


    Created a plugin and inside plugin index file i am calling for the function comment_form() but it is not displaying it on front.

    any suggestions on what am i doing wrong here?

    Code :

    add_action('wp_footer','comment_form_gkstat');
    function comment_form_gkstat(){
        if(is_front_page()){
            comment_form();
        }
    }
    • This topic was modified 1 month ago by rv1994.
Viewing 1 replies (of 1 total)
  • Thread Starter rv1994

    (@rv1994)

    Just allow the comments for that specific page in wordpress dashboard.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.