Hi Author
When i activate wpdiscuz, it shows the comment my user left using the wpdiscuz system, and the comment left by user using the default Wordpress comment system will get disappeared.
Can i sync. them together?
Thanks
Patrick
Hi @pyue6299,
Thank you for using wpDiscuz.
Comments – wpDiscuz changes the default comment system to a new interactive system. The wpDiscuz will show all old comments. There is no necessary to synchronize anything. It seems there is something specific case on your website. Please use some screenshots to explain the issue.
Hi Author
Let me look into this issue deeper.
Another thing i was longing for an answer, is that:
i currently have a "popup" plugin and it can create any popup using shortcode or functions. I would like to add a button in post, so that when user clicks it, it popup wpdiscuz comment form.
May i know is that possible? which files should i look at?
thanks
Patrick
any update?
Hi @pyue6299,
Make sure global object is available for the post/page content where you'll add the shortcode mentioned below.
Use the following shortcode:
function my_wpdiscuz_shortcode() {
if(file_exists(ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php')){
ob_start();
include_once ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php';
return ob_get_clean();
}
}
add_shortcode( 'wpdiscuz_comments', 'my_wpdiscuz_shortcode' );