Home › Forums › Legacy Support › Support queries › Update Issues › breadcrumbs in arabic language
- This topic has 13 replies, 2 voices, and was last updated 4 years ago by amajzoub.
Viewing 14 posts - 1 through 14 (of 14 total)
-
AuthorPosts
-
May 6, 2020 at 9:47 am #257141amajzoubParticipantHello, 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?May 7, 2020 at 2:16 pm #257539Anshuman SahuKeymasterHi please share url of that page where this issue is appearing ?May 11, 2020 at 8:27 am #258230amajzoubParticipantMay 11, 2020 at 12:10 pm #258293Anshuman SahuKeymasterPlese 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>May 12, 2020 at 3:46 am #258472amajzoubParticipantI 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!May 12, 2020 at 4:32 am #258477amajzoubParticipantby the way if you check the course page below example of one of them, there is no issue with the breadcrumb http://lms.eng-way.com/course/%d8%a3%d8%b3%d8%a7%d8%b3%d9%8a%d8%a7%d8%aa-%d8%a7%d9%84%d8%aa%d8%b3%d9%88%d9%8a%d9%82-%d8%a7%d9%84%d8%b1%d9%82%d9%85%d9%8a/May 12, 2020 at 12:09 pm #258657Anshuman SahuKeymaster
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())); });May 13, 2020 at 7:20 am #258894amajzoubParticipantnot fixedMay 13, 2020 at 12:30 pm #259035Anshuman SahuKeymastershare your admin credentials in private reply .May 14, 2020 at 5:54 am #259222amajzoubParticipantThis reply has been marked as private.May 14, 2020 at 12:44 pm #259402Anshuman SahuKeymasterfixed check please .May 15, 2020 at 3:02 pm #259875amajzoubParticipantThanx, Can you please inform us what you did, to follow the same steps in future website with same theme. RegardsMay 16, 2020 at 9:03 am #260053Anshuman SahuKeymasterWe just made some changed in that script I provided above .Actually I frogot to wrap it in <script>tagMay 17, 2020 at 6:17 am #260250amajzoubParticipantThanx, appreciated -
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)
- The topic ‘breadcrumbs in arabic language’ is closed to new replies.