Okay, so it is a bit more complex than I thought, but here's the gist of what you need to do:
Note: you can't use the all fields merge tag anymore to be able to make notifications. You'll have to add in each merge tag separately to make up your notification message.
Create a custom shortcode - http://codex.wordpress.org/Shortcode_API
This short code will do the heavy lifting. You'll want to use a merge tag to pass the date to your shortcode and your shortcode will pass back the day of the week.
Your merge tag in your notification will look something like:
[customdate date={My Date Field:1}]
Your shortcode will use PHP's date function to figure out the day of the week - http://php.net/manual/en/function.date.php
And then it will pass that value back to your notification and should be then properly included in the e-mail.
Let me know if this makes sense and helps.
Posted 13 years ago on Wednesday April 18, 2012 |
Permalink