Forum Replies Created
-
AuthorPosts
-
May 12, 2015 at 9:25 pm in reply to: Single Post Style with small preview how can I make it bigger #443379
I’d like to add my voice to this one. The icon is square, but I’d like to add some code to make it twice at high as it is wide. So, for example, the standard icon for a single “blog post” is 80×80, but I’d like to be 80×160, but then I want the whole featured image to scaled to fit that area and not cropped. How can this be done?
I set up a sample at http://vinovation.co.za/home-test-3/
May 1, 2015 at 12:46 pm in reply to: Is Visual Composer updated to the latest version somehow with Enfold updates? #437999Yes, that’s what I’m talking about. It’s installad on my systems, but I didn’t install it separately. Will have to figure out where it comes from!
July 17, 2014 at 6:21 pm in reply to: Form email is not successfully sent, but there is no log (or is there?) #292596Thanks Josue,
The code is:
if($use_wpmail) { $header .= 'From: '. $from . " <".$from."> \r\n"; wp_mail($send_to_mail, $subject, $message, $header); } else { $header .= 'From:'. $from . " \r\n"; mail($send_to_mail, $subject, $message, $header); }
Now I have two questions: How can I add something in here to make this thing log what it tries to do, since it doesn’t send the mail?
Then, while were at this point:
The $header variable contains the $from strong (email address), but I want to it to also contain the address that the person entered in the form so that when I hit reply in the email that I receive from wordpress, the mail will be sent to the person that filled in the form. How can I add a “reply-to:” header in there and what is the variable that contains this address?
The php mail function has this example:
<?php $to = ' (Email address hidden if logged out) '; $subject = 'the subject'; $message = 'hello'; $headers = 'From: (Email address hidden if logged out) ' . "\r\n" . 'Reply-To: (Email address hidden if logged out) ' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>
So in this example, how to I add the add the email address that the enquirer entered in the form as the reply-to address?
July 17, 2014 at 11:44 am in reply to: Form email is not successfully sent, but there is no log (or is there?) #292401I have turned on logging in /etc/php5/apache2/php.ini by enabling error_log = syslog and before that I had error_log = php_errors.log, but nothing is logged regardless of whether email can be sent from a form or not.
If while file is the email sending code?
-
AuthorPosts