Hello,
We are using the theme and WP in arabic language,
the first issue that any Arabic URL not work so we add the below to wp-config.php and its work
if ( isset($_SERVER['UNENCODED_URL']) ) {
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];}
The issue now that when you open for example any of the course category with Arabic name and slug, in breadcrump it not show the Arabic letters
as example:
Categoury name: اللغة الانجليزية
while in the breadcrump %D8%A7%D9%84%D9%84%D8%BA%D8%A9-%D8%A7%D9%84%D8%A7%D9%86%D8%AC%D9%84%D9%8A%D8%B2%D9%8A%D8%A9
how to fix it?
Hi please share url of that page where this issue is appearing ?
Plese try adding this given line in your wp-admin -> wplms -> footer -> google anaylitics script :
<script>jQuery(document).ready)(function(){jQuery('.archive ul.breadcrumbs li.current span').text(decodeURIComponent(jQuery('.archive ul.breadcrumbs li.current span').text()));});</script>
I added the code in google analytic editor but still there is issue
check bellow 2 category, first one with Arabic slug
and the other one with English slug, issue appear when there is Arabic slug.
http://lms.eng-way.com/course-cat/%d8%a7%d9%84%d9%84%d8%ba%d8%a9-%d8%a7%d9%84%d8%a7%d9%86%d8%ac%d9%84%d9%8a%d8%b2%d9%8a%d8%a9/
http://lms.eng-way.com/course-cat/business/
if there is a way to make the breadcrumb read the title and not the slug that will fix the issue!
Plese remve the previous script and try adding this given line in your wp-admin -> wplms -> footer -> google anaylitics script :
jQuery(document).ready(function(){ jQuery('.archive ul.breadcrumbs li.current span').text(decodeURIComponent(jQuery('.archive ul.breadcrumbs li.current span').text())); });
share your admin credentials in private reply .
This reply has been marked as private.
Thanx, Can you please inform us what you did, to follow the same steps in future website with same theme.
Regards
We just made some changed in that script I provided above .Actually I frogot to wrap it in <script>tag