- This topic has 12 replies, 3 voices, and was last updated 4 months ago by
Tom.
-
AuthorPosts
-
October 26, 2020 at 12:26 pm #1505239
Romain
Hello,
I have custom fields that I needed to display at the bottom of a form, to do that I needed to override template files. So I did it and it worked perfectly fine until I updated generatepress ( I use a child theme). Memberpress told me it must come from my child theme, what do I need to do?
Thank you for your help,
October 27, 2020 at 2:23 am #1505838David
StaffCustomer SupportHi there,
did you make those changes to copies of the templates in your child theme ?
If so what were the templates you changed ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2020 at 2:47 am #1505855Romain
Hi,
I’m sorry, I’m not sure what you are asking. I’m not really technical. I changed memberpress checkout form (form.php). Yes, I put it in my child theme.
October 27, 2020 at 4:50 am #1505994David
StaffCustomer SupportIs your child theme still Activated ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 27, 2020 at 4:59 am #1506006Romain
Yes
October 27, 2020 at 10:14 am #1506711Tom
Lead DeveloperLead DeveloperHi there,
The theme update wouldn’t have affected this.
Is
form.php
the correct filename? And is it added to the root of your child theme folder?As David mentioned, it’s good to double-check that the child theme is still definitely activated – sometimes after an update it’s easy to click the “Activate” link which activates the parent theme.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 28, 2020 at 2:35 am #1507400Romain
Hello,
Yes the child theme is activated and form.php is the correct file name. It worked before, so I don’t know what might cause the issue.
October 28, 2020 at 7:48 am #1507837David
StaffCustomer SupportAnother silly question – can you confirm the form.php template is still present in the Child Theme folder.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 28, 2020 at 8:52 am #1508139Romain
Yes, it is.
October 28, 2020 at 1:58 pm #1508526Tom
Lead DeveloperLead DeveloperCan you ask Memberpress for more information? How exactly could a theme prevent this template file from working? I’m afraid this is a tough one to debug without more information, unfortunately. Is there something that’s required on the themes part in order for this template to work?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 29, 2020 at 4:34 am #1509090Romain
This is what they wrote to me:
“There might be two main reasons why that happens:
1. This is some caching issue so you’ll need to follow this article: https://docs.memberpress.com/article/298-how-to-set-up-popular-caching-plugins-with-memberpress#sgo to properly configure SG Optimizer plugin as it may cause some issues.
2. Your child theme is broken for some reason and it doesn’t take any changes from template file. In that case, ask your theme author for troubleshooting this.”
So I did what they recommended for the caching issue, but it didn’t solve the problem.
October 29, 2020 at 8:05 am #1509745Romain
Hi,
It works now, I didn’t change anything. So I don’t know what caused the issue.
Thank you for your help,
October 29, 2020 at 9:59 am #1509893Tom
Lead DeveloperLead DeveloperGlad it’s working again 🙂
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.