Familienfest 2025 - Mailing List Export

For Microsoft Word Mail Merge:

Direct CSV URL:

https://www.fmg-waldalgesheim.de/mailing-test/mailing-list.csv

Alternative URL:

https://www.fmg-waldalgesheim.de/mailing-test/?csv=1

Usage in Word:

  1. Go to Mailings → Select Recipients → Use an Existing List
  2. Enter one of the URLs above
  3. Word should recognize it as CSV data

Test the CSV output:

Download CSV (Pretty URL) Download CSV (Parameter)

Setup Instructions:

To enable the pretty URL (/mailing-test/mailing-list.csv), add this code to your theme's functions.php:

function add_mailing_csv_rewrite_rules() {
    add_rewrite_rule(
        '^mailing-test/mailing-list\.csv$',
        'index.php?pagename=mailing-test&csv=1',
        'top'
    );
}
add_action('init', 'add_mailing_csv_rewrite_rules');

function add_csv_query_var($vars) {
    $vars[] = 'csv';
    return $vars;
}
add_filter('query_vars', 'add_csv_query_var');
        

After adding the code: Go to Settings → Permalinks and click "Save Changes" to flush rewrite rules.