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

Commit 370043f

Browse files
author
Dmitry Kochnev
committed
[DOCS] versioning and readme clean up
1 parent 44669d9 commit 370043f

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Learnosity plugin for Wordpress
1+
# Learnosity plugin for WordPress
22

33
## Work in progress
44

@@ -12,7 +12,7 @@ TODO:
1212
- [x] Add support for submit practice - N/a - already worked
1313
- [x] Add support for changing default from local_practice to submit_practice - and make that default
1414
- [x] Add support for Activity Template Id
15-
- [ ] Add validation check and error handling when invalid shortcodes settings - eg no items, or no activityid.
15+
- [ ] Add validation check and error handling when invalid shortcodes settings - eg no items, or no activityid
1616
- [ ] Only load primer when there are shortcodes on the page
1717
- [ ] Support for session id
1818
- [ ] Test multiple activities on the one page
@@ -29,7 +29,7 @@ Tags: learnosity, api, assessment, education
2929
Requires at least: 3.5.1
3030
License: Copyright (c) 2017 Learnosity under the MIT License
3131

32-
The Learnosity API plugin allows you to embed Learnosity items on your site using WordPress shortcodes.
32+
The Learnosity plugin allows you to embed Learnosity items on your site using WordPress shortcodes.
3333

3434
### Installation
3535
After activating the plugin, visit Settings > Learnosity API Plugin and add your Learnosity consumer key and consumer secret (course ID is optional). Once you\'ve saved these settings, you\'ll be able to start embedding Learnosity items on your site by using shortcodes.
@@ -69,9 +69,9 @@ Using the `lrn-assess` shortcode lets you include an Assessment style activity.
6969

7070
Note you can use either the activitytemplateid to load from the Author site/Item Bank, or you can specify individual items.
7171

72-
The activitytemplateid could be also passed as url parameter (lrnactid) for WordPress landing page:
72+
activitytemplateid could be also passed as url parameter (lrnactid) for WordPress page:
7373
```
74-
http://wordpress.vg.learnosity.com/2017/11/21/assessment-url/?lrnactid=ACTIVITY_3_DEMO
74+
http://wordpress.learnosity.com/2017/11/21/assessment-url/?lrnactid=ACTIVITY_3_DEMO
7575
```
7676

7777

@@ -105,7 +105,7 @@ You can also manually embed a submit button this way:
105105

106106

107107
### Reports API Usage
108-
A subset of reports are currently available for us in the wordpress plugin.
108+
A subset of reports are currently available in Learnosity plugin.
109109

110110

111111
### Sessions List report
@@ -153,18 +153,18 @@ Parameters
153153
[lrn-report type="session-detail-by-item" session_id="17b9bb6e-16f8-4808-aebd-42a246a1158e"]
154154
```
155155

156-
The session_id could be also passed as url parameter (lrnsid) for WordPress landing page:
156+
session_id could be also passed as url parameter (lrnsid) for WordPress page:
157157
```
158-
http://wordpress.vg.learnosity.com/2017/11/07/report/?lrnsid=0c2c3a66-5719-4f5f-b8c9-1492aa3c7cfa
158+
http://wordpress.learnosity.com/2017/11/07/report/?lrnsid=0c2c3a66-5719-4f5f-b8c9-1492aa3c7cfa
159159
```
160160

161161

162162
## Release History
163-
### Version 1.2.1 - 21th Nov 2017
163+
### Version 1.3.0 - 21th Nov 2017
164164
- Add support for lrnactid as url parameter of WordPress landing page for lrn-assess
165165

166166
### Version 1.2.0 - 14th Nov 2017
167-
- Add support for lrnsid as url parameter of WordPress landing page for Session Detail By Item report
167+
- Add support for lrnsid as url parameter of WordPress page for Session Detail By Item report
168168
- Add support for onsubmit_redirect_url parameter for lrn-assess shortcode
169169

170170
### Version 1.1.1 - 6th Oct 2017
@@ -177,7 +177,4 @@ http://wordpress.vg.learnosity.com/2017/11/07/report/?lrnsid=0c2c3a66-5719-4f5f-
177177
- Initial release of the wordpress-learnosity plugin which makes it easy to add Learnosity into a Wordpress Site
178178

179179
### Pre v1 - 2014
180-
- The base version of this was created in 2014
181-
182-
183-
180+
- The base version of this was created in 2014

classes/Learnosity/Shortcodes/ItemsEmbed.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public function __construct($options, $mode)
4747
//Force ther rendering type based based on mode called
4848
// lrn-items:inline or lrn-assess:assess
4949
$this->config['renderingtype'] = $mode;
50-
5150
}
5251

5352
public function render()

0 commit comments

Comments
 (0)