WP theme consolidation & agency opt-in refactor/bug fix
Agency opt-in changes
- Agency checkbox found at the side of every post/page is now the sole way to opt the post-in to your agency.
- All editors with opt-in permissions, can check and uncheck any agency to opt it into a post/page using the checkbox. This makes that post appear in the relevant areas within that agency.
- Agency editors still can only create and see their agency posts in the backend. But if another agency wants to send them a link to one of their pages to edit/opt into, they could edit it.
- Opt-in buttons have been removed throughout the site, including the filter HQ button.
- Fork button has been removed. This caused many issues with post duplication.
- You will now have a better view in the backend of what agencies have opt-ed into a particular post.
- Backend agency switcher has been removed. This was buggy and caused permission errors plus now agency admins with the checkbox shouldn't have to switch around to assign posts.
- HMCTS region sidebar removed on posts. HMCTS agency admin can still assign users to a specific region.
Bug fixes
- Bug fix: When two or more agencies clicked to share a a post without checking HQ, all agencies checked would get locked out of the post and it would default to HQ.
- Bug fix: Default template would, in some instances, display some fields from the campaign content template.
Theme changes
- mojintranet legacy theme removed.
- Agency opt-in legacy code moved into clarity theme.
- "intranet-theme-clarity" is now the parent theme. Simplifies system file structure, may even fix some errors, site speed.
Things not changed
- Homepage functionality assigning posts has not changed.
- Posts/pages still display both on frontend and backend on a per agency basis.