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

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Shortcode was working perfectly but now it simply doesn't work

2 Posts
2 Users
0 Reactions
1,654 Views
Posts: 1
 adxl
Topic starter
(@adxl)
New Member
Joined: 3 years ago

Short code goes like this:

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");

It used to work perfectly but now I don't know what has happened and it looks like disaster...To see the problem scroll down to the bottom of this link or refer to the image attached below: https://zap.adxl.in/project4289/

wpdiscuz problem
1 Reply
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

@adxl,

Please make sure the comment form is enabled for the current post type

That is: the shortcode can be used if the post type supports comments.  

Also, please try the steps mentioned in this FAQ: https://wpdiscuz.com/community/f-a-q/if-design-of-the-wpdiscuz-comment-form-is-broken/

Share: