Copy out email-standalone.php to your theme folder and modify it accordingly? In this way the plugin will load from your theme version rather than the plugin’s one
Thanks for youy reply Lester.
Don’t know if it’s there I can achieve what I want to (or don’t know how).
In your wp-email, the interesting part for me is th one that allows to insert html, in this function :
### Function: E-Mail Form
function email_form($content, $echo = true, $subtitle = true, $div = true, $error_field = ”) {
// …
}
Could I achieve it in email-standalone.php?
Thanks for your reply,
Manu
Yes that is a full HTML page which just loads the email_form() function that replaces the_content()
I don’t understand your answer, excuse me… Or maybe I turned my question in a bad way.
I’m using the email-popup.php, in which there’s a call to the email function (email_form(true))…
The part I want to overwrite is the form (html tags and CSS).
How would it be possible in the standalone.php file?!
Ah I see, I got your question now. Unfortunately that is not possible to insert your own classes via PHP. Alternatively, you can do it via JS when the page is loaded, manually use jQuery addClass to add a class to it.
Hi Lester,
ok, thanks for your reply, that’s what I finally made 😉