compatibility with ...
 
Share:
Notifications
Clear all

Conflict compatibility with Salient - Responsive Multi-Purpose Theme

5 Posts
2 Users
0 Likes
356 Views
Posts: 3
Topic starter
(@pievedepitti)
Active Member
Joined: 1 year ago

HI, after the last theme update comment box has disappeared. I swhitched to Twenty-Two theme (when all other plug in were off already) and it's back, so I suppose it's a theme compatibility.
Any issue between WPDiscuz and Salient has been reported yet? I posted same support request in the Theme forum , obviously.
Thansk for any suggestion you might have.

4 Replies
Asti
Posts: 6983
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

@pievedepitti,

Seems you're using the shortcode, if so, you need to add the following code in the active theme functions.php file:ย 

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

More info here: https://wpdiscuz.com/community/f-a-q/wpdiscuz-shortcode/

Reply
Posts: 3
Topic starter
(@pievedepitti)
Active Member
Joined: 1 year ago

Thanks @Asti, it works. But was working also previously, whitout the code and with the last Theme version. So, It's definitely a Theme bug?

Thanks for your support

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 6 years ago

Illustrious Member
Posts: 6983

@pievedepitti,

If the [wpdiscuz_comments] shortcode is used, then the code in functions.php is necessary.ย 

Probably with your previous theme, the shortcode wasn't necessary.ย 

Reply
Posts: 3
Topic starter
(@pievedepitti)
Active Member
Joined: 1 year ago

the shortcode was there already...

Reply
Share: