This plugin allows Virtual Learning Environment (VLE) users to create blogs on a WordPress multisite installation through the use of Learning Tools Interoperability (LTI) 1.3 tools. The plugin is designed to make it easy to integrate WordPress with a VLE course to provide an individual or group working space for students. It isn't designed to support course materials on an external WordPress site being included in the VLE.
In this case, the LTI Consumer is the VLE (e.g. Moodle) and WordPress is the LTI Provider. VLE roles are mapped to appropriate WordPress roles in all cases.
This is a single plugin that supports 2 different use cases:
Differentiating these two different uses of blogs is done as part of setting up the LTI tool in your VLE of choice. You set up the LTI tool at system level twice in the VLE, giving each instance a suitably descriptive name, and including custom parameters that tells the plugin in WordPress which behaviour to provide.
Teachers are then able to drop an instance of the tool into their course wherever it’s required.
The first VLE user to click on a course blog tool link will be taken to the WordPress multisite install and a blog will be created for the course. The user will also be made a member of the blog. Any subsequent users that click on the link are added to the blog as a member. Teachers on the course will get the WordPress Administrator role and students will be added as WordPress Authors.
If a VLE user with the student role clicks on a student blog tool link they are taken to the WordPress multisite install and a blog is created for them. The student is added to the blog with the Wordpress Administrator role. Teachers on the course who follow the student tool link will be taken to a WordPress page with a list of links to all the student blogs associated with the course. If the Teacher clicks on one of the links, they are given the WordPress Author role and taken to the home page of the blog.
This plugin works with the following plugins (none of which are mandatory):
If NS Cloner is installed and activated. NS Cloner will be used to create blogs instead of WordPress Core.
If the Multisite Privacy plugin or the More Privacy Option plugins are installed, Wordpress admin have the option of making new blogs private on creation. If neither of these plugins are installed, blogs will always be made public on creation.
In the terminal run:
cd <plugin-root-directory>
composer install
This should create a vendor directory with the imsglobal libraries.
After you have installed and configured the plugin in WordPress, you will need to create LTI 1.3. tools in your VLE. You should create separate tools for student and course blogs. You can find more info about creating LTI tools on Moodle and Learn on their sites:
You should name your tool appropriately; e.g, WordPress Course, WordPress Student.
The tool URL is the URL of your WordPress install; e.g., https://
The public keyset should be left blank.
The Initiate login URL should be the URL of your WordPress install and include the query string ?lti-login=true, so your URL will be: https://
The redirection URL should be the URL of your Wordpress install and include the query string ?lti-blog=true, so your URL will be https://
e.g.
For course tools, you do not need to add any custom parameters. For student tools, you must include the following custom parameter:
blog_type=student
You will also probably want to set your tool to launch in a new window, although this is not mandatory.
It’s possible to have more than one instance of the tool per course, which could be useful for the Course Blogs behaviour above where you might want to have a few different activities within a course, each of which are supported by a WordPress blog.
If you add a second course tool link to a course, when the first user clicks on the link a second blog will be created for the course, which will include appropriate version info. For example, the title of the blog will be My Course Blog 2. Each new link will result in an additional blog for the course. This is also true for student blogs, so it is possible for students to have multiple individual blogs for a course.
If you are using groups within your VLE to limit access to a series of resources that support a learning activity, you can drop an instance of the blog tool into each group and the VLE permissions that restrict access to the group will take care of making sure that only the students in that group can get onto the blog. Probably the Course Blog behaviour is the one that’s most useful here too.
The following versions of PHP are supported:
The following versions of WordPress are supported.
Note: It is very possible that this plugin will work with earlier versions of WordPress, but it has only been tested on the above.
See the project changelog
Bugs and feature requests are tracked on GitHub.
If you have any questions about ed-lti please open a ticket here; please don't email the address below.
This package is released under the GNU License. See the bundled LICENSE file for details.
This code is principally developed and maintained by the University of Edinburgh's Digital Learning Applications and Media team .
This plugin was inspired by the IMS Basic Learning Tools Interoperability plugin (developed by Chuck Severance & Antoni Bertran). Some of the code used in this plugin is borrowed from that plugin. For further details, please visit IMS Global
This plugin also makes use of the PHP LTI Tool 1.3 Advantage Library developed by IMS Global. For further details, please visit GitHub