- This topic has 9 replies, 3 voices, and was last updated 7 years ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.
Hi Tom and Leo,
I have two things I would like to modify. The first is the error message on blog post when someone doesn’t enter their name or email. I would like to change the text and add an image. The next thing is I would like to add a field, I want to separate the input for name with one that asks for first name and another for last name, both fields required.Can this be done?
Thanks,
Daren
Hi Daren,
I assume you’re talking about the comments area, correct?
Yes, below each blog post.
You would need to copy comments.php (https://github.com/tomusborne/generatepress/blob/1.4/comments.php) and add it to your child theme.
Then you can adjust the text at the very bottom.
You will want to keep an eye on future GP updates so you can make any necessary changes to the file.
Hi Tom, thank you. Can I add a child theme now, after I’ve already built the site?
Yup absolutely!
Good to know. I’ll look up how to do it.
I have been using the simple CSS plugin to modify the site. As I understand it this will not be effected with GP updates. Am I right? I’m still pretty new to this so I’m trying to get a handle on all the ins and outs. I’m trying to keep track of it all. I’ve added CSS in Elementor pro and the simple CSS plugin so as long as I keep it there I should be ok with updates and if I add the child theme?
Yup the CSS in Simple CSS would be fine.
Personally I would only choose one or the other though – Either child theme or Simple CSS.
The first paragraph here explains a bit more: https://docs.generatepress.com/article/using-child-theme/
Hi,
In the comments of the blog post I would like to change Website to company so the commenter would have to enter the name of their company. I have the .php file and I see where to make the change I just don’t know how to make the change. Right now it’s Name, Email, Website and I want it to be Name, Email, Company. Can you help me with this?
Thanks
Perhaps a plugin like this would help?: https://wordpress.org/plugins/wp-comment-fields/
Solutions
© 2024 EDGE22 Studios LTD.