WP Manifestindependent plugin directory
manifest / i18n / wpstorm-persian-toolkit

Wpstorm Persian Toolkit

A toolkit for Persian WordPress sites, including Persian date (datepickers), Persian number, and more.

by esradev · github.com/romonet-ir/wpstorm-persian-toolkit · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/romonet-ir/wpstorm-persian-toolkit/archive/refs/heads/main.zip

Readme

Wpstorm Persian Toolkit

Wpstorm Persian Toolkit is a comprehensive WordPress plugin designed to enhance Persian websites by adding support for the Jalali calendar, Persian fonts, Persian numbers, RTL adjustments, and more.

Features

  • Jalali (Persian) Calendar – Convert WordPress dates to the Persian calendar.
  • Persian Datepicker – Adds a Jalali-compatible date picker for posts, forms, and custom fields.
  • Persian Fonts – Easily integrate popular Persian fonts like Vazir, IranSans, and more.
  • Persian Numbers – Automatically convert Western digits (123) to Persian digits (۱۲۳).
  • RTL Support – Ensures proper right-to-left (RTL) formatting for Persian websites.
  • Persian Weekdays & Holidays – Display Iranian weekdays and important holidays.
  • SEO-Friendly Persian URLs – Optimize your website URLs for better SEO in Persian.
  • Translation-Ready – Supports Persian translations and multi-language compatibility.

Installation

From WordPress Admin:

  1. Go to Plugins > Add New.
  2. Search for "Wpstorm Persian Toolkit".
  3. Click Install Now and then Activate.

Manual Installation:

  1. Download the latest release from GitHub or WordPress.org.
  2. Upload the extracted folder to wp-content/plugins/wpstorm-persian-toolkit/.
  3. Go to Plugins in the WordPress dashboard and activate it.

Usage

Settings Page

After activation, go to Settings > Persian Toolkit to configure:

  • Enable/Disable Jalali Date
  • Choose your preferred Persian font
  • Toggle Persian number conversion
  • Adjust RTL settings
    ... and more!

Shortcodes

You can use these shortcodes in posts, pages, or widgets:

Shortcode Description
[jalali_date] Displays the current date in Jalali format.
[persian_number]1234[/persian_number] Converts numbers into Persian digits.

Hooks & Filters

Developers can extend and modify features using these hooks:

// Modify the Jalali date output
add_filter('wpstorm_persian_jalali_date', function($date) {
    return $date . ' - ویرایش شده';
});
// Disable Persian numbers
add_filter('wpstorm_persian_number_enabled', '__return_false');

Read the full README on GitHub →