Jump to content
Sign in to follow this  
vdeluca

Constant Contact email form to header

Recommended Posts

vdeluca

Hi! I have code for a little email sign up box and I'd love to have working in place of the search box in the header. Here's the site: http://www.shopspanishmoss.com You can see I have it working here where I just hard coded it into the store html on another host server: http://www.spanishmossshop.com I got everything to look right by placing my constant contact form code inside the search php file but it's still triggering other code and when i enter the email adn then hit subscribe, it sends me to a 404 page. How can either hard code this into the header or swap out the search box? Thanks so much! Veronica

Share this post


Link to post
Share on other sites
timlinson

Instead of manually placing it in the core files, I would highly suggest using a hook in platformbase/functions.php. It would be similar to this thread: http://www.pagelines.com/forum/topic/7755 but you would need to use the `?>` and ` <?php } ` There's an example hook in the functions.php file and you can also find a little more about hooks here: http://www.pagelines.com/docs/base-child-theme

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×