- This topic has 7 replies, 2 voices, and was last updated 1 year, 3 months ago by
David.
-
AuthorPosts
-
October 27, 2019 at 11:10 am #1046159
Hannah
good afternoon!
i’ve bee trying to install a WPDiscuz comment form into my theme using a combination of elementor and shortcodes. during the troubleshooting process, one of the tips that i’m testing out says that a theme may not have this code:
<?php comments_template() ?>
i’ve been poking around the theme editor for generatepress and so far haven’t been able to find this particular bit of code, even with the help of ctrl+f.
it IS showing a comment box of sorts, but none of the WPDiscuz options are available, nor is the ‘submit’ button. before i moved on to some other troubleshooting attempts, i just wanted to ask if generatepress does include the previously mentioned slice of code.
Fixing Tip 6
Some themes don’t use <?php comments_template() ?> WordPress template function, thus wpDiscuz can’t be loaded. You should contact to your active theme developers and ask them add this function in template files. More information here: https://codex.wordpress.org/Function_Reference/comments_templateany help would be much appreciated! thank you, and have a wonderful sunday!
October 27, 2019 at 11:18 am #1046160Leo
StaffCustomer SupportHi there,
The line is in both
single.php
andpage.php
in the theme folder:
https://github.com/tomusborne/generatepress/blob/6933da4f9a85e183bcf8485836339043dfc4a650/single.php#L39
https://github.com/tomusborne/generatepress/blob/6933da4f9a85e183bcf8485836339043dfc4a650/page.php#L37Hope this helps 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2019 at 11:23 am #1046162Hannah
aahhHH i didn’t think to check single but how did i miss it on page. regardless! thank you so much! i’ll toy around a bit and try some more troubleshooting if this doesn’t work. 🙂
Thank you so much!
October 27, 2019 at 11:31 am #1046164Leo
StaffCustomer SupportNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2021 at 12:09 am #1977381Franz
Hi Hannah,
did you found a solution to your problem? I have exactly the same problem with wpdiscuz, the plugin template is not loaded, but only the WP default template.
Kind regards
Franz
October 27, 2021 at 9:12 am #1978854David
StaffCustomer SupportHi Franz,
not sure if Hannah is still getting notifications on this topic.
You may want to ask WpDiscuz… GP is using the core functions it requires so there should be no reason for it not to work.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2021 at 12:25 pm #1979185Franz
Thanks David for your comment. In the meantime, I succeeded to use the comment template of wpdiscuz, so everything is ok. I appreciate your support very much!
Franz
October 27, 2021 at 2:53 pm #1979397David
StaffCustomer SupportThats great to hear… was there anything particular you had to do? Just in case another user has a similar question?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.