Skip to content

suffolklibraries/intranet

Repository files navigation

Suffolk Libraries intranet themes

This is a child of the Genesis Framework, based on the Genesis Sample Theme.

How it works

Intranet is a child of the Genesis Framework theme.

It loads no Genesis styles; instead, it styles the parent theme's HTML. We also add functions to the child theme's functions.php, mainly to dequeue plugin styles and scripts, but also to add a few features, such as page excerpts.

The secondary sidebar is unregistered. You can determine which widgets appear in the sidebar through the Widget Contexts plugin.

Workflow

  1. Make changes to a local working branch
  2. Merge into the candidate branch
  3. Push the candidate branch
  4. If needs external review, FTP to test site and get approval. If not revert branch.
  5. Merge into master
  6. Push master
  7. FTP to live site

Dependencies

Themes

  • Genesis Framework (parent theme)

Plugins

User accounts

When users visit the site the WPO365-login plugin will redirect them to Office 365. If it's their first visit they'll be asked to allow the intranet to use their account details to login.

Assuming users allow this, they'll be redirected to the site and the plugin will create a WordPress user account in the background. All accounts are granted Subscriber permissions by default, just enough to view the site.

Whenever users visit the site in the future the plugin will check whether they're logged into O365, or whether they still have an active login token. If they're not, they'll be prompted to login again.

Changing permissions

To change a user from, say, a Subscriber to an Administrator you'll need to uncheck the WordPress Admin > WPO365-login > User management > User cannot change email box first.

About

Suffolk Libraries WordPress intranet theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published