Commit df58f14b authored by Mike Little's avatar Mike Little

Updated instructions.

parent 1bff6fdf
Pipeline #101 canceled with stage
......@@ -23,14 +23,14 @@ This plugin requires the Custom Post Type UI plugin (cpt-ui). You can import the
You then need to go to the `Advent Calendar` > `Calendar settings` page. There you can check the `Create Days` checkbox to quickly create all 24 advent calendar days.
You can also set a title and background image for the Advent Calendar page. Note uploading on this page is broken, but if you upload to your media library (Media > Add new), you can select an image from this page.
You can also set a title and background image for the Advent Calendar page. **Note**: uploading on this page is broken, but if you upload to your media library (`Media` > `Add new`), you can then select an image from this page.
For each day, you should upload an image as the 'treat' or specify a (short) video. You can add a motto or joke. Don't forget to publish it when done.
Then on the Advent Calendar page (https://example.com/advent-calendar - maybe add it to your menu), your visitors can click on each day to reveal the 'treat' and motto or Joke. Clicking on the Joke question will reveal the punch line!
Only the days for today or earlier can be opened. The one that have been opened are saved as a cookie for each visitor.
Only the days for today or earlier can be opened. The ones that have been opened are saved as a cookie for each visitor.
There is a debug mode where you can pretend it is some day in December for testing purposes. Don't forget to turn it off when you launch your calendar.
In the `Calendar settings` page, there is a debug mode where you can pretend it is some date in December for testing purposes. The 'remember the open doors' cookie only lives for three minutes in debug mode. Don't forget to turn it off when you launch your calendar.
If you wish to override the display of the calendar or individual days, you can copy the `templates/archive-advent_day.php` and `templates/content-advent_day.php` files to your theme and modify them.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment