• 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 4 years, 7 months ago by rv1994.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘comment_form function not displaying the comments form’ is closed to new replies.