How can I insert a dynamic URL in my email template?

I have no experience with this plugin, but it looks like you can add extra template variables with a filter named ‘wpbe_tags’: function template_vars_replacement( $template ) { $to_replace = array( ‘blog_url’ => get_option(‘siteurl’), ‘home_url’ => get_option(‘home’), ‘blog_name’ => get_option(‘blogname’), ‘blog_description’ => get_option(‘blogdescription’), ‘admin_email’ => get_option(‘admin_email’), ‘date’ => date_i18n(get_option(‘date_format’)), ‘time’ => date_i18n(get_option(‘time_format’)) ); $to_replace = apply_filters(‘wpbe_tags’, … Read more

WordPress and IPN problem

First of all, is better use get_template_directory_uri() instead of bloginfo(… <input type=”hidden” name=”notify_url” value=”<?php echo get_template_directory_uri(); ?>/ipn.php”> but you are right if you think the problem is not this one. I cannot be sure, but I bet your problem is here: include_once( $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-load.php’ ); This is a problematic way to include wp-load.php, but … Read more

arguments for comment_notification_text filter

For the arguments, check the source: $notify_message = apply_filters( ‘comment_notification_text’, $notify_message, $comment_id ); You have two parameters. The first is the notification text itself, prior modification by your filter. It is constructed earlier in the same function and is different for comments, trackbacks, and pingbacks. The second parameter, as you might guess from the name, … Read more

Do SPF Records For Primary Domain apply to subdomains?

You need to have separate SPF records for each subdomain you wish to send mail from. The following was originally posted on openspf.org, which used to be a great resource for this kind of thing. Latest link http://www.open-spf.org/FAQ/The_demon_question/ The Demon Question: What about subdomains? If I get mail from pielovers.demon.co.uk, and there’s no SPF data … Read more

Changed my email. Locked out

If you have access to the database, through phpMyAdmin or otherwise, you can change the email address in the ‘wp_users’ table. (your table may have a different prefix)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)