=== WP-Persian ===
Contributors: salemi
Donate link: https://zarinp.al/22741
Tags: persian, farsi, jalali, date, calendar, iran, ltr, rtl, woocommerce, shamsi, فارسی, تقویم, شمسی, هجری شمسی, افزونه, جلالی, میلادی, پارسی, ایران, ووکامرس, فروشگاه
Requires at least: 4.0
Tested up to: 5.3.2
Stable tag: 3.3.0
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Fast and Powerful plugin for Jalali calendar and Farsi language support in Wordpress and standard plugins.
== Description ==
WP-Persian is a fast and powerful plugin for jalali calendar and persian language support in wordpress and standard plugins.
> If you like the plugin, feel free to rate it (on the right side of this page)!
= Features =
* Jalali DatePicker for Woocommerce
* Farsi Fonts for Admin Dashboard
* Full posts and comments dates conversion to jalali.
* Customizable through specific Wordpress admin page.
* Jalali timestamp edit in new post and new page sections.
* Jalali dates in inline edit tables.
* Change wordpress language from admin control panel.
* Adds RTL and LTR buttons to the TinyMCE editor to enable writing text in Right to Left and Left to Right directions.
* Jalali Archive widget.
* Jalali Calendar widget.
* Jalali/Gregorian compatible permalinks.
= Farsi Description =
* امکان تغییر فونت بخش مدیریت سایت
* پشتیبانی از تاریخ هجری شمسی در ووکامرس
* تاریخ هجری شمسی در همه بخش ها حتی بخش آپلود عکس و مدیا
* تشخیص خودکار جهت متن ورودی در بخش مدیریت
* قابلیت تبدیل کلیه تاریخ های میلادی به هجری شمسی
* امکان تغییر زبان و تقویم بخش مدیریت و بخش کاربری به صورت مجزا
* به همراه راهنمای کامل تنظیمات به زبان فارسی
* بدون ایجاد تغییرات در هسته وردپرس
= Related Links =
* Download Latest Version
* Online Documents
* PDF Document
* PDF Installation Help
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/wp-persian` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Use the Settings->Persian screen to configure the plugin
== Changelog ==
= 3.2.5 (July 19th,2018)=
* (UPDATE) update farsi language repository
= 3.2.3 (July 19th,2018)=
* (FIX) bugfix in conflict with other farsi plugins
= 3.2.2 (July 1st,2018)=
* (FIX) bugfix in woocommerce date
= 3.2.1 (June 29th,2018)=
* (NEW) change adminpanel fonts
* (NEW) datepicker as option in adminpanel settings
= 3.2.0 (June 21th,2018)=
* (NEW) jalali datepicker for woocommerce
= 3.1.0 (May 21th,2018) =
* (NEW) jalali date in media library page
* (FIX) bug fix in activate plugin
* (TEST) PHP 7.0.10 + Wordpress 4.9.6
= 3.0.2 (May 17th,2018) =
* (UPDATE) update language repository
* (FIX) bug fix jalali calendar widget
* (UPDATE) update jalali date functions
= 3.0.1 (May 11th,2018) =
* (IMPROVE) improve in change language
= 3.0.0 (May 11th,2018) =
* (NEW) auto direction base on user input
* (NEW) Ctrl+RShift and Ctrl+LShift change input layout direction
* (FIX) change Admin Dashboard language from user profile
* (FIX) visual editor RTL style
* (IMPROVE) some other improvements
* (TEST) PHP 7.2.5 + Wordpress 4.9.5 + Google Chrome 66.0 + Firefox 60.0
= 2.3.0 (May 5th,2018) =
* (FIX) bug fix in permalinks
= 2.1.3 (August 27th,2016) =
* (FIX) bug fix in jalali calendar widget for support PHP7
= 2.1.2 (August 6th,2016) =
* (IMPROVE) cache support for jalali calendar widget
= 2.1.1 (August 2st,2016) =
* (IMPROVE) improve in jalali calendar widget
= 2.1.0 (August 1st,2016) =
* (FIX) bug fix in repository language
= 2.0.1 (July 29th,2016) =
* (FIX) bug fix in rtl locale
= 2.0 (July 28th,2016) =
* Written again for wordpress 4.x compatibility and performance
= 1.8 =
= 1.7 =
= 1.5 =
= 1.4 =
= 1.3 =
= 1.2 =
== Frequently asked questions ==
= I found a bug in the plugin. =
Please post it in the [Plugin Homepage](http://www.30yavash.com/tag/wp-persian/) and we'll fix it right away. Thanks for helping.
= Does WP-Persian Support Multisite? =
yes.
= Which version of Wordpress should I use? =
use can use English or Persian version of Wordpress.but we suggest english version.
== Screenshots ==
1. Woocommerce Product Jalali Date Picker
2. Woocommerce Order Jalali Date Picker
3. Wordpress General Settings
4. WP-Persian Administrator dashboard Settings
5. WP-Persian Frontpage Settings
6. Wordpress All Posts
7. Wordpress Edit Post
8. Wordpress Post Quick Edit
9. Jalali Calendar Widget
10. Jalali Archive Widget
/**
* Above Footer Styling Loader for Astra theme.
*
* @package Astra Builder
* @link https://www.brainstormforce.com
* @since Astra 3.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Above Footer Initialization
*
* @since 3.0.0
*/
class Astra_Above_Footer_Component_Loader {
/**
* Constructor
*
* @since 3.0.0
*/
public function __construct() {
add_action( 'customize_preview_init', array( $this, 'preview_scripts' ), 110 );
}
/**
* Customizer Preview
*
* @since 3.0.0
*/
public function preview_scripts() {
/**
* Load unminified if SCRIPT_DEBUG is true.
*/
/* Directory and Extension */
$dir_name = SCRIPT_DEBUG ? 'unminified' : 'minified';
$file_prefix = SCRIPT_DEBUG ? '' : '.min';
wp_enqueue_script( 'astra-footer-above-customizer-preview-js', ASTRA_BUILDER_FOOTER_ABOVE_FOOTER_URI . '/assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true );
}
}
/**
* Kicking this off by creating the object of the class.
*/
new Astra_Above_Footer_Component_Loader();