WordPress.org

Ready to get started?Download WordPress

Forums

wp-comment-master
Using the comment form plugin on pages (1 post)

  1. Olaf Lederer
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic