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

[Solved] The shortcode does not work

4 Posts
2 Users
2 Reactions
1,407 Views
Posts: 8
Topic starter
(@petrayvonneenglish)
Active Member
Joined: 4 years ago
Hello, since this morning I can not see the comment box in any of my pages the only thing I see is the shortcode on the site of the box ... Can you help me solve this problem? Could it be because of elementor and the widget shortcode? I wait for an answer, thank you! Greetings.
 
 
Icono de Validado por la comunidad
 
 
 
 
Captura de pantalla (4)
Captura de pantalla (5)
3 Replies
Asti
Posts: 7615
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@petrayvonneenglish,

Is there 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_once ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php";
$html = ob_get_clean();
}
return $html;
}
add_shortcode("wpdiscuz_comments", "my_wpdiscuz_shortcode");
Posts: 8
Topic starter
(@petrayvonneenglish)
Active Member
Joined: 4 years ago

I had it inside my functions.php file but when I looked I saw that it was gone ... yesterday I made an update of my generate press theme, is it possible that with this update it will be deleted? I have reintroduced it and it works fine again. Thanks a lot! If there is anything else I will write to you again. Greetings.

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

Illustrious Member
Posts: 7615

@petrayvonneenglish,

yesterday I made an update of my generate press theme, is it possible that with this update it will be deleted? 

Yes the customization were lost in the theme update. 

If there is anything else I will write to you again. Greetings.

Sure, please open a new support topic. This one will be closed soon. 

Share: