Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/saudi-adhd-society/hijri-date-shortcodes/archive/refs/heads/main.zipOn Packagist as jvarn/hijri-dates-shortcodes:
composer require jvarn/hijri-dates-shortcodesNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Hijri date shortcodes
Creates Wordpress shortcodes for converting between Gregorian and Hijri dates.
This plugin is simply a shortcode wrapper for geniusts/hijri-dates.
Installation
1. Clone or download the repository to your computer.
2. Fetch the dependencies using composer:
3. Upload to your Wordpress plugins folder.
Usage
1. Now\
Prints the current Hijri date and time\
[hijridate] (default)\
[hijridate rel="Now"]
2. Relative\
Prints the relative Hijri date\
[hijridate rel="Yesterday"]\
[hijridate rel="Today"]\
[hijridate rel="Tomrrow"]
3. Conversion\
From Gregorian to Hijri:\
[hijridate gdate="2022-12-31"] (yyyy-MM-dd)\
From Hijri to Gregorian:\
[hijridate hdate="1443-12-30"] (yyyy-MM-dd)
Package
You can also add this to your own plugin using composer:
Releases
1 release.
Tag
Published
0.2.3
latest
Apr 12, 2022 4 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.