Calendar Pro shows events scheduled by English or Islamic date inside the day box, either as inline text or in a pop-up.
Method 1: create events in the admin (recommended)
Since version 2.5.0, go to XllenTech Calendar → Add English Event or Add Islamic Event.
- English events can be one-off, or repeat weekly, monthly or yearly, and can have an end date.
- Islamic events can be one-off or repeat yearly.
- Format each event’s description however you like, and give categories a background colour.
Method 2: the data file (legacy)
Events can also be listed in a pre-formatted PHP file, xllentech-calendar-data.php. A sample file is included with the plugin. Events in the file use green text for Wiladat, red for Shahadat (martyrdom) and black for Wafat.
- Copy
xllentech-calendar-data.phpinto your active theme folder — ideally your child theme — so plugin updates don’t overwrite it. - Open the file in any plain-text or PHP editor.
- Change the day, month, event type and description for each line, and delete lines you don’t need. Keep the format exactly as it is.
Events are shown only if the data file contains entries. If nothing appears, see Event doesn’t display on Calendar Pro.
