This repository collects code snippets and configuration details for the Cloud.gov.bc.ca multi-site WordPress instance. As this site network is provided as a hosted service, our code is placed into the site through the WordPress GUI at runtime.
Please contact the Platform Services Team via Rocket.Chat or by email with questions.
The code snippets included in this repository are used in a WordPress v6 multi-site instance provided by the GDX Digital Engagement Solutions team using their "Bcgov Engagement" theme.
-
./src/<site>/additional-css.css
- CSS styles that get applied to a particular site through the Additional CSS menu (from WP admin panel, Appearance -> Customize -> Additional CSS).
-
./src/alert-banner.html
- HTML markup plus a
<style>
block to create an instance of thewarning
style alert banner from the Design System. This was developed for use on the Private Cloud site's homepage, but user testing revealed that users found this confusing. This code isn't used on any of our sites at this time.
- HTML markup plus a