WordPress.org

Support

Support » Plugins and Hacks » [Plugin: wp-comment-master] Using the comment form plugin on pages

[Plugin: wp-comment-master] Using the comment form plugin on pages

  • Olaf Lederer
    Participant

    @finalwebsites

    Hi,
    I have noticed that the ajax form validation doesn’t work on pages (the JS code below the form is missing for that pages).

    I fixed while replacing

    if(is_single())wp_enqueue_script('paginating_js', WP_PLUGIN_URL.'/wp-comment-master/cm.js',array('jquery'),'',true);

    with

    if(is_single() || is_page())wp_enqueue_script('paginating_js', WP_PLUGIN_URL.'/wp-comment-master/cm.js',array('jquery'),'',true);

    I don’t use the pagination function, so in my opinion you should show the JS code only on pages where the comment form is included. What do you think?

    http://wordpress.org/extend/plugins/wp-comment-master/

  • The topic ‘[Plugin: wp-comment-master] Using the comment form plugin on pages’ is closed to new replies.