Thread Starter
bucke
(@bucke)
Ok I fixed it by adding this before the code I pasted above
$custom_mail = get_post_meta($post->ID, 'custom_email', true);
if ($custom_mail != '') {
wp_mail( $custom_mail, __('Contact "', 'appthemes').$post->post_title.'"', $message, $headers, $attachments );
}
Hi,
had the same problem with my template. Solved it with this plugin and then changed the permalink of the page “news” from “http://www.site.com/news” to “http://www.site.com/category/news/page/1”
Hope that solves it