Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit b8311c9

Browse files
author
Dmitry Kochnev
committed
[BUG] Correct version on plugin settings page and RTL docs added
1 parent 29c4d99 commit b8311c9

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,46 @@ Valid JSON for Author API init options could be passed as content of lrn-author
222222
[/lrn-author]
223223
```
224224

225+
### RTL (Right-to-Left) Mode (Arabic and Hebrew Language Support) Usage
226+
Provide rtl=true within associated shortcode to enable RTL.
227+
228+
Example to enable RTL for Author API shortcode:
229+
```
230+
[lrn-author rtl=true]
231+
<pre>
232+
{
233+
"mode": "item_list",
234+
"config": {
235+
"label_bundle": {
236+
"searchStatus": "حالة",
237+
"searchTags": "علامات",
238+
"searchTitle": "العنوان",
239+
"searchTitlePlaceholder": "البحث بالعنوان",
240+
"searchTitleReferenceContent": "عنوان ‫/‬ مرحع ‫/‬ محتوي",
241+
"searchTitleReferenceDescription": "عنوان / مرجع / وصف"
242+
}
243+
},
244+
"user": {
245+
"id": "www-site",
246+
"firstname": "WWW Firstname",
247+
"lastname": "WWW Lastname",
248+
"email": "www@learnosity.com"
249+
}
250+
}
251+
</pre>
252+
[/lrn-author]
253+
```
254+
255+
RTL mode is supported for:
256+
- [Items API (inline, assess)](https://help.learnosity.com/hc/en-us/articles/360002588377-Configuring-Items-API-to-Initialize-in-RTL-Right-to-Left-Mode-Arabic-and-Hebrew-Language-Support-)
257+
- [Author API](https://help.learnosity.com/hc/en-us/articles/360000858898-Configuring-Author-API-to-Initialize-in-RTL-Right-to-Left-Mode-Arabic-and-Hebrew-Language-Support-)
258+
259+
Please refer to the linked articles above (hyper-links) to read full instructions on RTL mode for particular API.
260+
225261
## Release History
262+
### Version 1.9.1 - 14th Sep 2020
263+
- [BUGFIX] Correct version on plugin settings page and documentation on how to use RTL has been added
264+
226265
### Version 1.9.0 - 11th Sep 2020
227266
- [FEATURE] Support rtl flag (so set text direction to right to left) in lrn-items, lrn-author and lrn-assess shortcode
228267

learnosity-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
/**
33
* Plugin Name: Learnosity API
4-
* Plugin URI: https://docs.learnosity.com/developers/developerguide/integration
4+
* Plugin URI: https://github.com/Learnosity/wordpress-learnosity/releases
55
* Description: Simple Learnosity API integration in WordPress.
6-
* Version: 1.8.0
6+
* Version: 1.9.1
77
* Author: Learnosity
88
* Author URI: http://www.learnosity.com
99
* License: Copyright 2014-2020, Learnosity

0 commit comments

Comments
 (0)