
-
AuthorPosts
-
July 15, 2015 at 6:05 pm #473904
Unfortunately Enfold’s contact form doesn’t allow me to change the form action, so I’m unable to create a form that submits my contact requests to my Aweber email list system.
Therefore, I created a form and inserted it into a “code block”. Unfortunately this breaks the editor, I suspect because of this line:
<textarea id=”awf_field-71613956″ class=”text_area” tabindex=”510″ cols=”40″ name=”custom Message” rows=”7″></textarea>
The textarea in my form is probably breaking the WordPress WYSIWYG, and therefore the Enfold editor as well.
Also, the form doesn’t work – it used to but now it’s not working at all. I tried to use the same styles used in the Enfold theme, so I suspect something about that is the issue.
Please advise how to fix or, or if there’s an alternative way that I can create forms with the Enfold styles applied which can submit the forms to a 3rd party. I’ve added my website’s login details to the field provided.
Thanks,
RuggeroJuly 16, 2015 at 2:19 pm #474313Hi Ruggero!
we suggest to work with this to achieve what you want: https://wordpress.org/plugins/contact-form-7/
Cheers!
AndyJuly 17, 2015 at 9:06 am #474737Hi Andy,
Thanks for the response and suggestion.
Unfortunately, unless I missed a hidden functionality in contact form 7, that doesn’t work for me either since (unless I’ve missed a feature somewhere I’m not aware of) Contact form 7 doesn’t allow me to change the form action either!
Or put another way, how do you suggest I submit the form to Aweber so I can capture the lead using contact form 7?
Thanks,
RuggeroJuly 17, 2015 at 3:28 pm #474999Hey Ruggero!
Use the HTML approach but wrap it with a shortcode, like (put this in theme / child theme functions.php):
function aweber_form_func() { ob_start(); ?> PUT HTML HERE <?php return ob_get_clean(); } add_shortcode( 'aweber_form', 'aweber_form_func' );
And then in the Code Block:
[aweber_form]
Regards,
JosueJuly 17, 2015 at 3:34 pm #475001Hi Josue,
Clever! Don’t I need to then copy over your functions.php file into a child theme and then add my own function in there? I suppose every time you do a theme update from then on I’d have to copy/paste your new functions.php file and add my custom function back in, right?
Or is there a way to include a custom function into the child theme without having to overwrite one of your theme files?
Thanks,
RuggeroJuly 17, 2015 at 3:42 pm #475013Yeah, if you are using a child theme use the child theme functions.php instead.
Cheers!
Josue -
AuthorPosts
- You must be logged in to reply to this topic.