hi,
i’m using dw qa pro plugin and newspaper theme v 10.3.1.
on question page i see “Fatal error: Cannot redeclare td_comment() (previously declared in …./td-standard-pack/Newspaper/comments.php:138) in …/wp-content/plugins/td-standard-pack/Newspaper/comments.php on line 138
for example:
https://www.sanalsantiye.com/sorucevap/apartmandaki-catlaklar/
Could you help me please?
thanks!
1 Answers
At the moment, the plugin conflicting with the Tagdiv plugin, you can use the following code in the functions.php file:
// Fix DW Q&A conflict with Tagdiv plugin
add_action('template_redirect', 'remove_td_comment_filter', 10);
function remove_td_comment_filter(){
if ( is_singular('dwqa-question')){
remove_filter( 'comments_template', 'tdc_template_include', 99 );
}
}
Please login or Register to submit your answer