Go to top

Important Notices

Important Notices


Important notices are used to highlight updates, outages, closures, or other time-sensitive information to users.

The following important notice examples vary in severity from critical to minor notices. The use of colors in these alerts signifies their urgency, and they are strategically designed to capture the user’s attention.

By default the important notice card is defined by the wrapper_class=”important-notice-card”. You can change the colour style by simple adding warning or other classes.

Important Notice

November 27, 2024

Example text. This content (and the date) gets updated via the WordPress “Posts” menu. See “Updating the Important Notices” in the next section.

Important Notice

November 27, 2024

Example text. This content (and the date) gets updated via the WordPress “Posts” menu. See “Updating the Important Notices” in the next section.

Important Notice

November 27, 2024

Example text. This content (and the date) gets updated via the WordPress “Posts” menu. See “Updating the Important Notices” in the next section.

[ display-posts category="Important Notice: TO" posts_per_page="1" wrapper="div" wrapper_class="important-notice-card-to" include_icon="true" include_title="true" include_link="false" include_content="true" content_class="desc" ]

[ display-posts category="Important Notice: TO" posts_per_page="1" wrapper="div" wrapper_class="important-notice-card-to warning" include_icon="true" include_title="true" include_link="false" include_content="true" content_class="desc" ]

[ display-posts category="Important Notice: TO" posts_per_page="1" wrapper="div" wrapper_class="important-notice-card-to other" include_icon="true" include_title="true" include_link="false" include_content="true" content_class="desc" ]

Updating the Important Notices


Step 1: Update the important notice content

  1. Click on the “Posts” tab in the left-hand WordPress menu.
  2. Select the notice you want to update from the “Categories” drop-down menu along the top row, then click “Filter”.
  3. Once the important notice appears, click the notice or “Edit” beneath the title.
  4. Update the notice and then save by clicking “Update” on the right-hand side in the “Publish” menu.

Step 2: Activating and de-activating the notice(s) on tribunal webpages

  1. Hover over the “Tools” tab in the left-hand WordPress menu, then select “Search Regex” from the list. Here, we want to locate the important notice scripts that already exist within the site and update their attributes in order to turn the alerts on or off, or change their type.
  2. To begin, copy and paste the following into the Search bar:

    display-posts category=”Important Notice: TO” posts_per_page=”1″ wrapper=”div” wrapper_class=”important-notice-card-to warning” include_icon=”true” include_title=”true” include_link=”false” include_content=”true” content_class=”desc”
  3. Before you click “search”, you will need to insure that the search is targeting the correct notices. In the example above, we are targeting the corporate notices using “TO” in the “display-posts category” attribute and “to” in the “wrapper_class” attribute. If you wish to target a different tribunal, update these references to the appropriate tribunal (i.e., display-posts category=”Important Notice: LTB” and wrapper_class=”important-notice-card-ltb warning”). You can also search using the “global” category if the notice applies to all weppages (i.e., display-posts category=”Important Notice: Global” and wrapper_class=”important-notice-card-global warning”). Use French acronyms for French notices.
  4. Also, ensure that the “wrapper-class” contains “no-” if you’re searching for notices that are currently turned off, and be sure that the type of card matches (ex: warning). Otherwise you may not get any results in the next step.
  5. Click the “Search” button. Review the list of results to ensure the pages you wish to target are present.
  6. Copy the content in the Search bar and paste it into the Replace bar. Update attributes as necessary (i.e., adding/removing “no-“, tribunal accronym, notice type).
  7. Click the “Replace All” button. This will update the banners on all applicable webpages.

Step 3: Changing the type of important notice (i.e., red, yellow, or blue)

  1. To change the type of important notice card, simply update the “wrapper_class” attribute as needed. For example:
    • wrapper_class=”important-notice-card-to” will display the red important notice background and icon
    • wrapper_class=”important-notice-card-to warning” will display the yellow important notice background and icon
    • wrapper_class=”important-notice-card-to other” will display the blue important notice background and icon