حل مشکل کارنکردن دکمه پاسخ در کامنت وردپرس

حل مشکل کارنکردن دکمه پاسخ در کامنت وردپرس 100 درصد تضمینی اگر قالب شما کلید پاسخ به نظرات کار نمی کنه کافی هست کد زیر رو در فایل functions.php قالب قرار بدید .

function mytheme_enqueue_comment_reply() {
    // on single blog post pages with comments open and threaded comments
    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 
        // enqueue the javascript that performs in-link comment reply fanciness
        wp_enqueue_script( 'comment-reply' ); 
    }
}
// Hook into wp_enqueue_scripts
add_action( 'wp_enqueue_scripts', 'mytheme_enqueue_comment_reply' );

 

امتیاز به این مطلب post
بیشتر بخوانید!!  Quote of the Day

درباره farsweb

پیشنهاد ما به شما

Trip Notes

Phasellus malesuada consequat metus, a accumsan libero dapibus ut. Nunc venenatis ut libero vitae porta. …

Leave a Reply

Your email address will not be published. Required fields are marked *