• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.
Resource icon

HOWTO Enable XenWord and Disqus within a product on WooCommerce plugin.

Warning: This requires a modification of the disqus.php file located path/to/wp-content/plugins/disqus-comment-system. The changes will be overwritten when the plugin is updated.

Install Disqus and XenWord

Go to line 149 of the disqus.php file and change all of the lines to the following:

Code:
    $replace = get_option('disqus_replace');

    if ( is_feed() )                       { return false; }
    if ( 'draft' == $post->post_status )   { return false; }
    if ( !get_option('disqus_forum_url') ) { return false; }
    if ( 'product' == get_post_type() )    { return false; }
    else if ( 'all' == $replace )          { return false; }
Author
LPH
Views
507
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LPH

Top