I have a wordpress site. I want to add a new menu item and make it point to a custom page ( not the regular single post page ) . This custom page will contain a contact us kind of form. How can I do this ? Is there a neat plugin do add the contact us kind of functionality as a widget ?
You could use the wordpress plugin "Fast Secure Contact Form".
You can download it here: Fast Secure Contact Form Download
If you need further instructions on how to use the plugin and/or how to add the menu item which links to the page, you can take a look at this (from screenshot #3):
How to use screenshot
For custom page, You should create Template page in your theme folder.
Page Template in Wordpress
On the head of the custom page, You have to define page name as
<?php
/*
Template Name: My Custom Page
*/
?>
Below the code, You can write your code and activate page from dashboard
Go to your contact page > select your page template.
For contact form in wordpress. Contact form 7 is standard plugin. If you want to use it in widget you have to install one more plugin (Widget Contact Form 7) after installing Contact Form 7.
Contact Form 7
Widget Contact Form 7
Related
How to separate login and registration page in woo-commerce storefront theme, have tried copy login-form.php and paste it and rename as register.php, added link in login Login page and inserted some code in template functions.php file but not working.
Used Woo-commerce Login/Signup plugin by Phoenix but didn't work for me.
You can create two pages with this shortcode and hide register form from one page and login form from another page by css.
[woocommerce_my_account]
Need help in wordpress (edit page and custom field,not change in css). After editing custom field and page, the website's page didn't display the correct setup as in wordpress. I had done clear the cache but still no change in website page. No need to change in css.
this is the editing page for contact us page
This is my custom field setting (contact us page)
But still after update the website didn't display the right template.
On my Wordpress - Woocommerce site I have added a link "Contact/Info" next to the "Add to Cart button" on the product pages. This was done by adding some jquery. The link works great, but I would like to change it to call a contact form 7 form in a lightbox. I am currently linking to the default Contact page on the site.
Code:
jQuery(function($) {
$('.single_add_to_cart_button').after('<a target="_blank" href="/contact-2">Contact / Info</a>');
});
Reason for wanting the change it is that I have a contact form 7 form setup that tracks the URL it's been sent from. This will only add be of use when the messages will be sent from the product pages of course.
Here's a link to a product page on my site
Anybody any idea how to do this?
Thanks!
I want to create static pages in wordpress. Is it possible?
My website structure like this
Home
About
Mission
Leadership
Blog
Contact Us
Support
Home page i have created using fron-page.php. But i don't know how to create static pages. Templates is helpful to do this?
By default when someone clicks on a page, it looks for page-pagename.php. So creating a page called page-blog.php, page-mission.php, page-leadership.php should open the relavant page and inside it you can do what ever you want. Another way is to use templates, create a php file in your theme and add the below comments in the begining.
<?php
/*
* Template Name: My Custom Page
* Description: A Page Template with a darker design.
*/
Now from the admin panel when you any page, you will see a new option to select the "MY CUSTOM PAGE" template.
We have a site with a members-only section and WordPress in a subdirectory. Some of the members-only pages, forms, etc. are outside of WP. We created a Member Login form on our homepage using Dreamweaver 5.5. Is there a way to have WordPress accept that main login so that a member doesn't need to login again when going to a WP member-only page? Thanks for any help you can be in pointing me in the right direction. I know just enough PHP to be dangerous. Let me know if you would like to see the DW login code.
Yes, you are talking about creating your own custom template for a Wordpress page.
You can use the page you generated from Dreamweaver by renaming its extension to .php, unless it already is. Move it to the /wp-content/themes/yourtheme folder, where yourtheme is your currently active theme. On the top of the template, add these lines:
<?php
//
// Template Name: Login Form
//
?>
Go to Wordpress Dashboard > Pages > Add New. Add a page called 'Login' or whatever you need, select 'Login Form' as the Template under Page attributes, and you Publish.
Reference: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates