7/10/26 - Calendar with Agenda Script

This is a standalone retro calendar widget, perfect for your blog's sidebar. It updates the month and days automatically based on the current date, and allows you to display emojis for your custom schedule or events. In case of any questions or bugs, feel free to leave a comment on this post and I will do my best to help you out!

Image Preview

How it Works

  • Automatic Updates: The calendar will automatically display the current month and year.
  • Interactive Events: Days with scheduled events will display an emoji instead of the number. Hovering the mouse over the emoji reveals a custom pop-up message with the day and details.
  • Current Day: The current date is highlighted with a soft pink background.
  • Available in Portuguese and English.
Click "Read More" for the code and how to install.


How to Add Your Events

Before pasting the code into your blog, you can add all your custom events inside the <script> section. Look for the configuration area at the top of the script:

// ============================================================
// 📝 DATE CONFIGURATION (Format: "YYYY-MM-DD")
// ============================================================
const Agenda = {
    "2026-07-10": { emoji: "🎂", texto: "Birthday!" },
    "2026-07-15": { emoji: "🛒", texto: "Shopping" },
    "2026-07-22": { emoji: "🎮", texto: "Game Night" }
};


Rules for adding dates:
  • Follow the "YYYY-MM-DD" format strictly (Year-Month-Day).
  • Always use two digits for months and days (e.g., 07 for July, 09 for the 9th).
  • Separate each event line with a comma. You can add events for the entire year in advance; the calendar will only load them when that specific month arrives.

How to Install on Your Blog

For Blogger / Blogspot:
  • Go to your Blogger Dashboard and click on Layout.
  • Click Add a Gadget in your sidebar section.
  • Choose HTML/JavaScript from the list.
  • Leave the title blank (or name it "Calendar"), paste your customized script into the content box, and click Save.

For WordPress:
  • Go to your Dashboard and navigate to Appearance > Widgets (or Appearance > Customize > Widgets).
  • Add a Custom HTML block to your sidebar.
  • Paste the script into the block and click Update/Save.
Get the Code

English:
Portuguese:

8 comments:

  1. Hola gracias por la informacion, lo tendre encuenta y voy a intentar aplicarlo en mi blog, saludos

    ReplyDelete
    Replies
    1. ¡Me alegra mucho que te haya gustado! Si tienes alguna pregunta, no dudes en contactarme. ¡Gracias por tu visita!

      Delete
  2. Hi!!

    This is so CUTE, I'll try to get it on the blog soon.
    Thank you for sharing.

    Lumusiando

    ReplyDelete
    Replies
    1. Hope it works! If you have any questions you can contact me! Thanks for the visit!

      Delete
  3. Que legal! Adorei a dica e seu blog é muito bonitinho!!!

    ReplyDelete
    Replies
    1. Que bom que gostou, obrigada pela visita!

      Delete
  4. Lindo mesmo seu blog ✨
    Obrigada pelo comentário!

    https://www.heyimwiththeband.com.br/

    ReplyDelete