Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Submit Enquiry Form together #760

Closed
ledlig opened this issue May 20, 2024 · 2 comments
Closed

How to Submit Enquiry Form together #760

ledlig opened this issue May 20, 2024 · 2 comments

Comments

@ledlig
Copy link

ledlig commented May 20, 2024

We have code like this:

`







Contact Us


Your Name:
Your Subject:
Please enter a valid email address
Your Email:
Please enter a the Subject

Your Message:
<textarea id="your-message6" class="form-control form-control-lg" maxlength="65535" name="MultiLine" required="" placeholder="Product Name, Quantity, Parameters, Packages.."></textarea>

Send a Message!
`
@danpros
Copy link
Owner

danpros commented May 20, 2024

Hello,

HTMLy allow custom template file for individual page. Read the docs.

If you have Contact Us page with slug contact-us. You can create static--contact-us.html.php and use your PHP code there.

And HTMLy also automatically include the functions.php if this file exist in theme folder. When naming the function in theme functions.php, use themeName_functionName(), to make sure not conflicted with existing function.

So you need custom code to achieve what you need.

@danpros
Copy link
Owner

danpros commented May 25, 2024

I will close this one.

@danpros danpros closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants