i implement disqus in my blog, everything fine in my post page except it dont seems to work in woocommerce single product page review tabs. does anyone know how to implement it?
hello there, get a glance to this Tutorial : Link skip the first steps and read friom : integrate disqus without plugin. all what you have to do is add this function disqus_embed('myexampleblog'); to reviews.php woocommerce template located here : woocommerce/single-product/tabs Goodluck
good news. i just got it work. many of the guides are outdated and probably not suit me but its still work to other maybe. in mycase after many many days surf on articles, <?php disqus_embed('yoursite_shortname'); ?> Code (markup): was mean to include in woocommerce single-produtc-review/php and not in my review.php liked many said. (woocommerce plugin directory that what i'm using) woocommerce/templates/single-product-reviews.php and just add this in //loaddisqus function disqus_embed($disqus_shortname) { global $post; wp_enqueue_script('disqus_embed','http://'.$disqus_shortname.'.disqus.com/embed.js'); echo '<div id="disqus_thread"></div> <script type="text/javascript"> var disqus_shortname = "'.$disqus_shortname.'"; var disqus_title = "'.$post->post_title.'"; var disqus_url = "'.get_permalink($post->ID).'"; var disqus_identifier = "'.$disqus_shortname.'-'.$post->ID.'"; </script>'; } Code (markup): in your theme (functions.php) it work for me. here my test product review tab in woocommerce with my own theme. http://www.etsycreative.com/product/woo-ninja-2/ i just hope this alternative way for some other who have tried many ways liked me do and still cant get it work. good luck.
like many other claimed and other method which they cant (moderate their comment) in disqus.com. its still work for me. i can moderated the disqus comment in my woocommerce review tab.