- This topic has 9 replies, 5 voices, and was last updated 1 year, 9 months ago by
Tom.
-
AuthorPosts
-
September 19, 2020 at 7:26 am #1449866
Igor
Hi, I’ve followed one of Tom’s posts but my problem still exists. I have CPT (name: U izborniku) and I want comments on CPT and archives.
In elements I added hook Generate_after_content, I checked Execute php, under Display rules I set CPT post/archive. Php code I added:<span class=”comments-link”>
<?php comments_popup_link( __( ‘Leave a comment’, ‘generatepress’ ), __( ‘1 Comment’, ‘generatepress’ ), __( ‘% Comments’, ‘generatepress’ ) ); ?>
</span>When I go to CPT I still don’t see comments. Did I miss something?
URL is: https://www.otvorenipecati.com/
CPT are menu above in black section.Thanks for help…
IgorSeptember 19, 2020 at 9:46 am #1450132Leo
StaffCustomer SupportHi there,
Can you confirm that you’ve checked to execute PHP?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 19, 2020 at 1:58 pm #1450329Igor
Hi, yes it is checked…
Igor
September 20, 2020 at 4:29 am #1450773David
StaffCustomer SupportHi there,
are comments enabled for those posts ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 20, 2020 at 10:13 am #1451268Igor
Hi, thanks for your reply, the problem is I don’t see option to enable comments. In quick edit, there is no checkbox like in a normal post.
Best,
Igor
September 20, 2020 at 2:46 pm #1451452Elvin
StaffCustomer SupportHi, thanks for your reply, the problem is I don’t see option to enable comments. In quick edit, there is no checkbox like in a normal post.
You set this on CPT UI.
https://share.getcloudapp.com/4gu9d8gDOnce you add the comment support on CPT, you can then enable the comments on the post by checking “Allow comments” on gutenberg sidebar’s document tab.
https://share.getcloudapp.com/eDuBGKdKA wise man once said:
"Have you cleared your cache?"September 21, 2020 at 4:04 am #1451973Igor
Hi, yes this is enabled…
September 21, 2020 at 2:10 pm #1452946Tom
Lead DeveloperLead DeveloperYour site seems to be behind a coming soon page. Can you share temp login details in the Private Information field so we can check it out?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentSeptember 22, 2020 at 1:08 am #1453393Igor
Thank you Tom for your time, since I had to solve my problem very quickly, I found another solution and the customer is satisfied. So we will not waste our time with this.
Thanks again.Igor
September 22, 2020 at 9:34 am #1454134Tom
Lead DeveloperLead DeveloperGlad you got it sorted 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.