Parsi Date - Version 2.1.6

Version Description

  • Fixed assets folder issue with community.
Download this release

Release Info

Developer iEhsan.ir
Plugin Icon Parsi Date
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

assets/css/admin-fonts.css ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Admin side fonts
3
+ * This is used when you activated one of fonts replacments.
4
+ *
5
+ * Droid Sans Naskh
6
+ * - Created by Google
7
+ * - Licensed under Apache License
8
+ *
9
+ * Roboto
10
+ * - Created by Google
11
+ * - Licensed under Apache License
12
+ */
13
+
14
+ @font-face {
15
+ font-family: 'DroidNaskh';
16
+ src: url( '../fonts/DroidNaskh-Regular.woff2' ) format( 'woff2' );
17
+ }
18
+ @font-face {
19
+ font-family: 'DroidNaskh';
20
+ src: url( '../fonts/DroidNaskh-Bold.woff2' ) format( 'woff2' );
21
+ font-weight: bold;
22
+ }
23
+
24
+ @font-face {
25
+ font-family: 'Roboto';
26
+ src: url( '../fonts/Roboto-Regular.woff' ) format( 'woff' );
27
+ }
28
+ @font-face {
29
+ font-family: 'Roboto';
30
+ src: url( '../fonts/Roboto-Bold.woff' ) format( 'woff' );
31
+ font-weight: bold;
32
+ }
assets/css/admin-styles.css ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body.rtl,
2
+ h1,
3
+ h2,
4
+ h3,
5
+ h4,
6
+ h5,
7
+ h6,
8
+ #wpadminbar a {
9
+ font-family: 'DroidNaskh', 'Roboto', tahoma, sans-serif !important;
10
+ }
11
+
12
+ .rtl #wpadminbar {
13
+ font-family: 'DroidNaskh', 'Roboto', tahoma, sans-serif ;
14
+ }
assets/css/editor-font-rtl.css ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ @import url( 'admin-fonts.css' );
2
+
3
+ body {
4
+ font-family: 'DroidNaskh', 'Roboto', tahoma, sans-serif !important;
5
+ font-size: 15px !important;
6
+ }
assets/css/editor-rtl.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ body, #tinymce {
2
+ font-family: tahoma, sans-serif;
3
+ font-size: 13px;
4
+ direction: rtl;
5
+ }
6
+ p {
7
+ margin: 0 !important;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ margin-bottom: 5px !important;
11
+ }
assets/fonts/DroidNaskh-Bold.woff2 ADDED
Binary file
assets/fonts/DroidNaskh-Regular.woff2 ADDED
Binary file
assets/fonts/Roboto-Bold.woff ADDED
Binary file
assets/fonts/Roboto-Regular.woff ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://forum.wp-parsi.com/
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
  Tested up to: 4.3
7
- Stable tag: 2.1.5
8
 
9
  Persian date & language package for WordPress
10
 
@@ -41,6 +41,9 @@ List of some features:
41
  4. 'Jalali Date Calender' in action
42
 
43
  == Changelog ==
 
 
 
44
  = 2.1.5 =
45
  * Added "Droid Sans" & "Roboto" font family to back-end environment & editor by default, also an option for returning that
46
  * Added an option for moving menu item to submenu
4
  Tags: shamsi, wp-parsi, wpparsi, persian, parsi, farsi, jalali, date, calendar, i18n, l10n, Iran, Iranian, parsidate, rtl
5
  Requires at least: 3.6
6
  Tested up to: 4.3
7
+ Stable tag: 2.1.6
8
 
9
  Persian date & language package for WordPress
10
 
41
  4. 'Jalali Date Calender' in action
42
 
43
  == Changelog ==
44
+ = 2.1.6 =
45
+ * Fixed assets folder issue with community.
46
+
47
  = 2.1.5 =
48
  * Added "Droid Sans" & "Roboto" font family to back-end environment & editor by default, also an option for returning that
49
  * Added an option for moving menu item to submenu
wp-parsidate.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: WP-Parsidate
4
- * Version: 2.1.5
5
  * Plugin URI: http://forum.wp-parsi.com/
6
  * Description: Persian package for WordPress, Adds full RTL and Shamsi (Jalali) support for: posts, comments, pages, archives, search, categories, permalinks and all admin sections and TinyMce editor, lists, quick editor. This package has Jalali archive widget.
7
  * Author: WP-Parsi Team
1
  <?php
2
  /**
3
  * Plugin Name: WP-Parsidate
4
+ * Version: 2.1.6
5
  * Plugin URI: http://forum.wp-parsi.com/
6
  * Description: Persian package for WordPress, Adds full RTL and Shamsi (Jalali) support for: posts, comments, pages, archives, search, categories, permalinks and all admin sections and TinyMce editor, lists, quick editor. This package has Jalali archive widget.
7
  * Author: WP-Parsi Team