The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
compatibility with ...
 
Share:
Notifications
Clear all

Conflict compatibility with Salient - Responsive Multi-Purpose Theme

5 Posts
2 Users
0 Reactions
771 Views
Posts: 3
Topic starter
(@pievedepitti)
Active Member
Joined: 2 years 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: 7664
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 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: 2 years 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: 7 years ago

Illustrious Member
Posts: 7664

@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: 2 years ago

the shortcode was there already...

Reply
Share: