• Resolved webpp

    (@webpp)


    The new updated shortcode doesn’t work at all.

    function my_wpdiscuz_shortcode() {
    $html = “”;
    if (file_exists(ABSPATH . “wp-content/plugins/wpdiscuz/themes/default/comment-form.php”)) {
    ob_start();
    include_once ABSPATH . “wp-content/plugins/wpdiscuz/themes/default/comment-form.php”;
    $html = ob_get_clean();
    }
    return $html;
    }
    add_shortcode(“wpdiscuz_comments”, “my_wpdiscuz_shortcode”);

    and using [wpdiscuz_comments] with it.

Viewing 1 replies (of 1 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    The shortcode works fine. Please watch this video: https://www.screencast.com/t/Tq0qg4edm

    Just make sure the post type supports comments and the comment form is enabled for the current post.

    It’d be better if you record a video where we can see how you’re adding a shortcode.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode Not Working’ is closed to new replies.