Hello,
If you want to show the previous day always you can use:
[wp-dt-date days=”-1″] will show your precious date in the current WordPress format e.g. m/d/Y for US
[wp-dt-weekday-name days=”-1″] will show full weekday name e.g. Monday
[wp-dt-weekday-name-short days=”-1″] will show the short weekday name e.g. Mon
For earlier days just change days attribute to whatever you need: -2, -5, -10, etc.
If you need other date format you may use the custom item format:
[wp-dt-custom format=”” days=”-1″]
and in the format attribute use the formatting letters from the PHP date() function which you can find here: https://www.php.net/manual/en/function.date.php
Please see the examples in the description of the plugin too.
-
This reply was modified 5 years, 4 months ago by
Denra.com. Reason: Added one more sentence