Tag Info

Hot answers tagged

4

Drop this in your functions.php or a custom plugin. function wpse_57621_alo_tidy() { if ( $page_id = get_option( 'alo_em_subsc_page' ) ) { if ( ! is_page( $page_id ) ) remove_action( 'wp_head', 'alo_em_ajax_js' ); } } add_action( 'wp', 'wpse_57621_alo_tidy' ); It's attached to the wp hook, which runs just after the request has ...


2

If you store the password in the PHP, it will be accessible to anyone who has the PHP (i.e. anyone who has the plugin). If you store it in the database, it will be accessible to anyone who has direct access to the database (i.e. anyone who installs the plugin and knows how to use phpMyAdmin). However, to store a simple password for a plugin, I'd use a ...


2

Set up an RSS campaign in MailChimp and use the rss feed from your wordpress site for the campaign content. If you don't want to include every post that would make it into your site's rss feed, you'll need to create an rss feed that's limited to just the posts you do want to go out. how to create a limited rss feed should be a separate question, if you ...


2

Contact Form 7 is pretty flexible. And there's the premium plugin, Gravity Forms, which a lot of people love. Or if you don't really need to keep the subscriber info in your own database, you could always use a service like MailChimp, for which there are WordPress plugins available for subscriber sign-up.


2

I do not think this is built into WordPress currently. This would probably need to be custom-built. It would be some php code that is attached to a cron job. Set the cron job to run every day, and have your php script email out the page. These resources may help: http://ss64.com/osx/crontab.html (via ...


2

I would personally advise against running the newsletter from your server directly as their can be issues with delivery rates and mails being flagged as spam. Instead http://www.mailchimp.com have a free user plan that would be suitable for you; as they are a premium service provider you can feel more confident that your email delivery rates are going to be ...


2

You can directly query for users having a specific user_meta value. This will gain some performance over loading all the users first and then iterating over them and loading the meta_value afterwards. Have a look at the WP_User_Query class. If we are speaking of larger numbers of mails you may be better off to use a full-blown newsletter plugin (that ...


1

I believe that you can solve this with any plugin... By Code Using Wysija example: if ( is_page( array( 42,'about-me','Contact' ) ) ) { $widgetdata=array ( 'widget_id' => 'wysija-nl-php-1',//form identifier important when many subscription forms on the same page 'title' => 'Subscribe to our Newsletter',//title of widget ...


1

You'll need something like the following (maybe-working example code) using get_users();: $users = get_users( /* Add your args here */ ); foreach ( $users as $user ) { $user_email_addresses[] = $user->email; // receive array of user mail addresses here } function wpse28212_send_delayed_bulkmail( $email_addresses ) { $i = 0; foreach ( ...


1

The email address associated with comments is kept in the $wpdb->comments table. Strictly speaking, that is the answer to the primary question. I'd be cautious culling email from comments as posting a comment is not clearly giving permission for you to send email. Is there any recommendation for doing some kind of newsletter/subscription? Use a ...



Only top voted, non community-wiki answers of a minimum length are eligible