Your theme config.php file can be used to specify page-specific layouts. As discussed in Chapter 6, Managing Users - Letting in the Crowds, our client requires that learners log in via WordPress, rather than directly into Moodle, although we will still need Moodle admins to be able to log into Moodle. To this end, some refactoring of the Moodle login page is required. The following is the wireframe agreed by the client:
This is a simple login page with most page decoration (headers and footers, for example) stripped away.
To implement a new login page layout, we first need to add a new layout script to the theme's /layout folder: ...