Salta al contenuto

eventuAlo.net blog

un blog vario ed eventualo

  • blog
  • info
  • portfolio
  • eventualo.net

Tag: easymail tutorial

How to: add a language dropdown in subscription form

Sometimes, you like that your subscribers select explicity their language.

By default, EasyMail plugin uses the browser detection, or a multilingual plugin if installed. This kind of detection could be not precise, or simply you write newsletters in a few languages instead of all languages of your blog.

Leggi tutto “How to: add a language dropdown in subscription form”

Autore aloPubblicato il 2 giugno 20172 giugno 2017Categorie Alo EasyMail NewsletterTag easymail tutorialLascia un commento su How to: add a language dropdown in subscription form

How to: add an attachment to newsletter

In EasyMail v.2.4.12 there is a filter hook to add one or more attachments to newsletters. It’s a first attempt, useful for developers: in future there will be a better integration in WP GUI.
Leggi tutto “How to: add an attachment to newsletter”

Autore aloPubblicato il 8 ottobre 20128 ottobre 2012Categorie Alo EasyMail NewsletterTag easymail tutorial

How to: apply categories to newsletters and hide newsletters of a category

Here you are the code to add standard Category taxonomy to newsletters:

function custom_easymail_add_newsletter_args ( $args ) {
	$args['taxonomies'] = array( 'category' );
	return $args;
}
add_filter ( 'alo_easymail_register_newsletter_args', 'custom_easymail_add_newsletter_args' );

function custom_easymail_add_newsletter_args ( $args ) { $args['taxonomies'] = array( 'category' ); return $args; } add_filter ( 'alo_easymail_register_newsletter_args', 'custom_easymail_add_newsletter_args' );

Here you are the code to hide a certain category of newsletters/posts in your blog front-end:

function custom_easymail_hide_category($query) {
	if ((is_admin()) || ($query->is_admin))	return $query; // no filter in admin
	$query->set('cat', '-3'); // PUT HERE THE CATEGORY ID AFTER A MINUS
	return $query;
}
add_filter('pre_get_posts', 'custom_easymail_hide_category');

function custom_easymail_hide_category($query) { if ((is_admin()) || ($query->is_admin)) return $query; // no filter in admin $query->set('cat', '-3'); // PUT HERE THE CATEGORY ID AFTER A MINUS return $query; } add_filter('pre_get_posts', 'custom_easymail_hide_category');

Autore aloPubblicato il 15 settembre 2012Categorie Alo EasyMail NewsletterTag easymail tutorial

How to: add a Country dropdown in form and subscribe to a related mailing list

After the request in this topic, I wrote a quick tutorial to insert a Country dropdown in EasyMail subscription form and to add the subscribes to a related mailing list. A subscriber selects “USA” as the country, he/she will be mapped to the “USA” mailing list.
Leggi tutto “How to: add a Country dropdown in form and subscribe to a related mailing list”

Autore aloPubblicato il 15 settembre 20122 giugno 2017Categorie Alo EasyMail NewsletterTag easymail tutorial

Alo EasyMail Newsletter

  • Overview
  • Latest News
    • ALO EasyMail v.2.9.8
    • ALO EasyMail v.2.9.7
    • ALO EasyMail v.2.9.6
    • ...all the news...
  • Guide
  • F.A.Q.
  • Screenshots
  • For developers
  • Support Forum on WP.org
  • Credits
  • Download (WP.org)

    Newsletter

    sending...
    Would you like to subscribe my newsletter?
    You can sign up for these lists:
    I never send newsletters. This widget is here above all as an example. Here you can place a link to policy page.

    Parternship

    Original WP by ThemeFuse
    SMTP2GO

    Categorie

    • Alo EasyMail Newsletter
    • Belinate
    • Cinema e Tv
    • Decrescita
    • Diario
    • Libri
    • Ma se ghe pensu
    • Musica
    • Opinioni
    • Phmisk
    • Preferiti
    • Script
    • Segnalazioni
    • Software
    • Wordpress
    • blog
    • info
    • portfolio
    • eventualo.net
    eventuAlo.net blog Proudly powered by WordPress