Banner and recent updates

The banner and recent updates sections of the covid19.ca.gov homepage are maintained through WordPress posts.

The recent updates section usually displays the last three banners.

The banner uses an action button link.

Action button link in the homepage banner

Updating the link in a button requires editing in HTML view in Wordpress. This preserves the custom code that makes the link show up as a button.

  1. Open the three dot menu for the link block and select Edit as HTML.

Edit as HTML option in WordPress block dropdown menu

  1. Replace the link inside the HTML chain (everything inside the quotation marks).

Example of code to replace inside HTML view

  1. Select Update to send the change to production or staging as desired.
Created and maintained by Office of Digital Innovation