?? ???? ??????? ?? ??? ?????? ?? ??? ??? ???? ??? ??????? ??? ???? ??? ????? ???? ?? ???? ???? ??? ???? ??? ???????? ?????
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 96 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 98 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 260 Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 262 Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 283 Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 351 Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in /home/****/domains/****.com/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 353
?? ???? ?? ?????? ???? ?? ???? ??????? ??????? ?????? ? ???? ??????? ?? ?????? yoast ??????? ????? . ??? ?? ??? ?????? ??????? ????? ????? ???? ???? ??? ???? ?? ?? ?
???? ????
?? ???? ?????? ?? ?????? ? ?? 5.8.2 ????? ???? ??? ??????? ?? ?? ??? a ????? ???
????? ???? ??? ????
?? ??? ???? ? ???? ??????
???? ?????? ?? ??? ? ???? ????
???? ??? ? ?????? ??? ?? ???? ???
??? ???????? ?????? ?? ??? ??? ?? ???? ???? ???? ?????? ???
???? ????? ??? ?? ??? ???? ?? ??? ?
??????
]]>???? ??? ????
?? ???? 8 ?? ?? ?? ??? ????? ?????????
[08-May-2021 21:31:28 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/****/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 96
[08-May-2021 21:31:31 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/****/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 96
[08-May-2021 21:37:09 UTC] PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/****/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 283
[08-May-2021 21:37:10 UTC] PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/****/public_html/wp-content/plugins/wp-jalali/lib/date.php on line 283
]]>
????
??? ?? ????? ???? ?? ?? ?? ?? 7.4 ?????? ???? ?????? ??? ?? ????? ? ???? ???? ?????:
Deprecated: Array and string offset access syntax with curly braces is deprecated in wp-content/plugins/wp-jalali/lib/date.php on line 96
Deprecated: Array and string offset access syntax with curly braces is deprecated in wp-content/plugins/wp-jalali/lib/date.php on line 98
Deprecated: Array and string offset access syntax with curly braces is deprecated in wp-content/plugins/wp-jalali/lib/date.php on line 260
Deprecated: Array and string offset access syntax with curly braces is deprecated in wp-content/plugins/wp-jalali/lib/date.php on line 262
Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in wp-content/plugins/wp-jalali/lib/date.php on line 283
Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in wp-content/plugins/wp-jalali/lib/date.php on line 351
Deprecated: Unparenthesized a ? b : c ? d : e
is deprecated. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
in wp-content/plugins/wp-jalali/lib/date.php on line 353
???? ???????? ????
]]>????. ??? ?? ????? ????? ?? ?? ?? ???? ?? ???? ????? ????? ??? search console ?????? ??? ?? ??? ??? ?? ??????:
There has been a critical error on your website. Please check your site admin email inbox for instructions.
?? ???????? ?????? ???? ????? ???? ?? ?? ???? ????? ????? ??? ???? ??? ?????. ??? ???? ????? ?? ??????? ???.
https://support.rankmath.com/ticket/i-cant-access-search-console/?view=all
????
??? ?? ????????? ??????, ?? ??? ?????? ??? ?? ??????, ??? ????????? ????, ??? ???? ??????? ?? ???? ????, ??? ??? ???? ????!
???? ????????? ???? ???? ???? 14:00 ??? ??? ?? ???? ???? ????, ??? ???? ?? 10:30
https://www.dropbox.com/s/2nfsbvnrkcua3up/Screenshot%20from%202020-01-11%2013-36-36.png
???? ?? ?????? 5.3 ?? ????? ??? ?????? ? ??? ?????? ?? ?? ????? ????? ?????
?? ??? ???? ??? ????? ??? ???? ???? ???? .
the_posts_pagination( array(
'next_text' => __( '????? ???????? ? ', 'textdomain' ),
'prev_text' => __( ' ? ????? ??????', 'textdomain' ),
) );
????? ?? ????? ??????
]]>?? ???? ? ???? ?????? ???? ?????? ??? ?????? ????? ???????.
??? ?? ?????? ?? ?? ??? ?? ???? ???? ???? ?? ???? ?? ?? ???? ??? ????? ???? ?????? ???? ?? wpml ????? ?? ??? ?????? ?????? ?? ????? ?? ?? ???? ????? ????? ??? ?? ??? ??. ???? ?? ???? ??????? ???? ?? ??? ??? ??? ????? ???? ? ?? ??? ??????? ?? ????? ??????.
?? ??? ????? ?? ??????? ?? ??? ??? ?????? ??? ??? ????? ???? ??? ? ???? ???? ????? ???? ??? ????? ? ????? ????? ???? ???????? ??? ????
????? ?? ??? ??????
]]>????? ??? ???? ??? ? ???? ? ???? :
https://wpmeg.com/tuts/%d8%af%d8%b3%d8%aa%d9%87%e2%80%8c%d8%a8%d9%86%d8%af%db%8c-%d9%86%d8%b4%d8%af%d9%87/%d8%b1%d9%81%d8%b9-%d8%ae%d8%b7%d8%a7%db%8c-%d9%84%d9%88%d8%af-css-%d8%af%d8%b1-%d8%a7%d9%81%d8%b2%d9%88%d9%86%d9%87-wp-jalali/
????
??? ?? ???? ?? ???? ??? ?????? ???.
??? ?? ??? ????? ????????
????. ??? ???? ????? ?????? ?? ???? ???????? ???? ?????? ????? ????? datePublished ?? structured data ???? ????. ??? ??? ????? ” ????? ????? ??????? ?????? ?? ?????? ?? ???? ????? ???. ” ?? ?????? ????? ???? ????. ??? ??????? ??? ??? ?? ???.
????? ????? ??? ?? ????? ??? ?? ?? ????? ??? ?????? ?????? ??? ? ???? ????? ?? ????? ?????? ?? iso 8601 ???? ???
$date = get_the_date('c');
????
???? ???? ???? ?? ??? ?????
datetime
???? ????? ?? ?????? ??? ???? ?? ??? ??????? ????? ?? ?? ?? ?? ??? ????????? ???? ? ????? ??? ????? ?? ??? ?????? ?? ????? ????????? ?? ?? ????? ?????.
??? ???? ?????? ? ????
???? ???:
$time_string = '<time class="entry-date published updated" title="'. __('Posted on', 'parsmizban') .'" data-toggle="tooltip" data-placement="bottom" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" title="'. __('Posted on', 'parsmizban') .'" data-toggle="tooltip" data-placement="bottom" datetime="%1$s">%2$s</time> <i class="fa fa-pencil fa-lg" aria-hidden="true" title="' . __('Updated on', 'parsmizban') .'" data-toggle="tooltip" data-placement="bottom"></i> <time class="updated" title="' . __('Updated on', 'parsmizban') .'" data-toggle="tooltip" data-placement="bottom" datetime="%3$s">%4$s</time>';
}
$time_string = sprintf( $time_string,
get_the_date( DATE_W3C ),
get_the_date(),
get_the_modified_date( DATE_W3C ),
get_the_modified_date()
);
??? ??? ???????? ??? ???? ?
]]>?? ???? ???? ?????? ?????
?? ???? ????? ?? ?? ???? 4.8 ????? ????
????????? ?? ???? ????? ???? ?? ??? ???? ???? ???? ????? ?? ?????? ????? ????? ?? ??? ???
Failed to load content css: https://MySite/wp-content/plugins/wp-jalali/assets/css/wysiwyg-rtl.css
???? ?????? ??? ?? ??? ???
??????
??? ??? ???????? ???? ??? ?????? ???? ??? ?????? ???? ???? ????? ?? ???? ??? ???? ?????? ? ??????? ??? ?? ?? ?? ???? ???? ????????
]]>????
???? ??? ?????? ?? ?? ???? ???? ?????? 4.7.2 ?????? ????
?? ?? ????? ?? ??????? ??????? ?? ????? ?? ??? ?????? ????
???? ?????? ?? ?? ?????? ?????? ????
?????
?? ??? ???? ? ???? ??????.
?????? ?? ???? ?????.
?? ?? ???? ?? ????? ???? ?? ?? ??? ??????? ????? ????.
????? ?? ?? ???? ???????.???? ?? ????? ???? ?? ?????? ???? ?? ???? ????? ???? ?????? ?? ???????? ?????? ???? ? ???? ?? ???? ????? ???? ????? ?? ???? ????.? ??????? ???? ????? ????? ???.???? ??????? ?? ?? ????? ????.?????? ????? ??? ????? ?? ?? ???? ?? ??????.??? ???? ????? ???? ? ?? ???? ??? ????? ???? ????? ?????? ?? ???? en.
????? ???? ??? ???????? ????.
?? ????
?????? ?? ????? ??????? ??????? ???? :
502 Bad Gateway
?? ??? ????? ???? ?????
????
?? ?????? ?? ?? ???? ????? ??? ???? ?? ???? ????? ???
?? ???? ?? ???? ???? ????
???? ?????
???? ??
?????
Hi Dear Users
I had a problem with multilingual support (Which is that Wp-Jalali does not support) and i figured it out and just wanted to let you guys know if you want to use it in other languages.
There is a line of code in the file
wp-content/plugins/wp-jalali/lib/date.php
at line 475
:
function gregorian_to_jalali($g_y, $g_m, $g_d) {
static $g_days_in_month = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
static $j_days_in_month = array(31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29);
$gy = $g_y - 1600;
$gm = $g_m - 1;
$g_day_no = (365 * $gy + int_div($gy + 3, 4) - int_div($gy + 99, 100) + int_div($gy + 399, 400));
for ($i = 0; $i < $gm; ++$i) {
$g_day_no += $g_days_in_month[$i];
}
if ($gm > 1 && (($gy % 4 == 0 && $gy % 100 != 0) || ($gy % 400 == 0)))
# leap and after Feb
$g_day_no ++;
$g_day_no += $g_d - 1;
$j_day_no = $g_day_no - 79;
$j_np = int_div($j_day_no, 12053); # 12053 = (365 * 33 + 32 / 4)
$j_day_no = $j_day_no % 12053;
$jy = (979 + 33 * $j_np + 4 * int_div($j_day_no, 1461)); # 1461 = (365 * 4 + 4 / 4)
$j_day_no %= 1461;
if ($j_day_no >= 366) {
$jy += int_div($j_day_no - 1, 365);
$j_day_no = ($j_day_no - 1) % 365;
}
for ($i = 0; ($i < 11 && $j_day_no >= $j_days_in_month[$i]); ++$i) {
$j_day_no -= $j_days_in_month[$i];
}
return array($jy, $i + 1, $j_day_no + 1);
}
Just change it to :
function gregorian_to_jalali($g_y, $g_m, $g_d) {
if (get_locale() == 'fa_IR') {
static $g_days_in_month = array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
static $j_days_in_month = array(31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29);
$gy = $g_y - 1600;
$gm = $g_m - 1;
$g_day_no = (365 * $gy + int_div($gy + 3, 4) - int_div($gy + 99, 100) + int_div($gy + 399, 400));
for ($i = 0; $i < $gm; ++$i) {
$g_day_no += $g_days_in_month[$i];
}
if ($gm > 1 && (($gy % 4 == 0 && $gy % 100 != 0) || ($gy % 400 == 0)))
# leap and after Feb
$g_day_no ++;
$g_day_no += $g_d - 1;
$j_day_no = $g_day_no - 79;
$j_np = int_div($j_day_no, 12053); # 12053 = (365 * 33 + 32 / 4)
$j_day_no = $j_day_no % 12053;
$jy = (979 + 33 * $j_np + 4 * int_div($j_day_no, 1461)); # 1461 = (365 * 4 + 4 / 4)
$j_day_no %= 1461;
if ($j_day_no >= 366) {
$jy += int_div($j_day_no - 1, 365);
$j_day_no = ($j_day_no - 1) % 365;
}
for ($i = 0; ($i < 11 && $j_day_no >= $j_days_in_month[$i]); ++$i) {
$j_day_no -= $j_days_in_month[$i];
}
return array($jy, $i + 1, $j_day_no + 1);
}else{
return array($g_y, $g_m, $g_d);
}
}
Then your problem is solved, Notice that you can use get_locale();
to get the current language of site.
I am a professional web developer, Contact me if you need help
email : [email protected]
?? ???? ? ??? ???? ??????
?? ?????? ?? custom post type ????? ????? ?? ???? ??????? ????? ???? ??????.
]]>?? ????
??? ?????? ???? ???? 503 ???? ?? ?????? ?? ???? ? ??? ?????? ???? ???? ? ?? ???? ?? ?? ????? ??????? ???? ?? ??? ?? ??????? ??? ???? ???? 503 ?????? ???? ?????? ????? ???? ? ??? ?????? ??? ???? ???? 503 ?? ???
?? ????
]]>???? ?? ?? ???? ?? ????? ?? ?????? ????? ???? ?? ???? ???? ?? ???? ??????? ????? ?? ???? ?????? ????? ???? ??? ? ?? ???? ????? ????? ???? ?? ????? ????
?? ??????? ?? ??? ?????? ?????? ???? ?????? ?? ????? ???????
????? ???? ??? ???? ??? ????
?? ????
?? ?? ???? ? ??? ???? wp_get_archives()???? ????? ????? ???? ??????? ?? ???? ??? ????? ?? ??? ??????(???? ??? ?????) ? ????? ????? ???? ??? ???? ??? ????? ???? ??? ????.
???? ???? ?????? ? ???.
jmktime function is using php mktime function with 7 paramaters including is_dst which is deprecated since php5.1 and removed since php7. As a result of the parameter being removed jmktime is not working properly anymore.
]]>Hi,
Thanks for such a wonderful plugin.
In my site I want to show both Jalali and Gregorian date in a line. Such as ?? ???? ???? (2015-11-20(
I’ve tried some changes but all the dates on site transform to Jalali.
Can you please give me a tip to have such a thing?
Thanks
]]>????
???? ??????? ???? ????? ?????? ???? ?? ???? ????? ?? ?????? ???? ????? ?????? ???? ? ???? ??? ??? ????? ??? ? ???? ??? ?????? ?? ???? ?? ??. ???? ???? ?? ??? ???? ????? ?? ????? ???? 2015.
??? ???? ??? ?? ????? ??? ???? ?? ????? ????
????? ?? ?? ??? ???????? ????.
?? ??????? 2.3 ?? ???? ???? ???? ????
]]>