Plugin Author
Mr. Meo
(@meohen1989)
Hi,
I’ve updated my code, please redownload my plugin.
At backend, open Settings > Xmas Decoration, remove value of Body Padding Top
Save and see the change
-
This reply was modified 5 years, 8 months ago by
Mr. Meo.
Wauw! You’re a genius. Thank you so very much! Now the decoration is being displayed correct.
A long time ago, before I changed to WordPress, my website was a self-built site in PHP. Then, I created a Christmas decoration function, that automatically turned on the decoration on the First Sunday of Advent – the day of which it is unofficially OK to show Christmas Decoration, in Denmark. The function also disabled the decoration on the 6th of January, which is All Saints Day – the day that accoring to Danish traditions, Christmas Decoration should be removed.
But I know, that accoring to DUTCH traditions, Christmas Decoration is “allowed” from the day AFTER Saint Nicholas (5th of December) – so each country has it’s own traditions regarding Christmas Decorations.
Have you thought about a possibility to add a simple schedular to your plugin?
Either “enter a start and end date”, or a function like “start after Saint Nicholas”, and “Start First Sunday of Advent”, and so forth?
Albert
Plugin Author
Mr. Meo
(@meohen1989)
That’s nice feature. I’ll try to add it soon.
The “start on First Sunday of Advent”/”After Saint Nicholas” would possibly only be used in Denmark and The Netherlands. I just googled “When should I decorate for Christmas”, and found out that Americans might start decorating in the weekend of Thanksgiving. This year, that seems to fit with the Danish tradition, but that isn’t the fact every year. I am not sure how “we” can cover all the traditions in the world, but if you want, I’d like to find out some other traditions.
Another feature could be decoration for Easter, or perhaps holidays from other cultures/religions (like Eid or Hannukah), and perhaps own preferences like birthday decorations on specific days/periods.
Albert
Oh, if you’d like to receive my old PHP code on “the First Sunday Of Advent”, just tell me – I might be able to find it. Not sure if you would need it …
Albert
Plugin Author
Mr. Meo
(@meohen1989)
I’ll let you pick start date and end date. 🙂
Plugin Author
Mr. Meo
(@meohen1989)
new update has arrived, please check
You’re very fast! Thank you so much!!
Albert
Hi Mr. Meo
I added a stop date function to your X-Mas Decoration. If you want the source code, then throw me an e-mail at albert (at) computernoerden (dot) dk.
I will ONLY send the source file to Mr. Meo – no-one else!
Albert