About
The Call to Action Pattern is used to direct users to a particular action that you want them to take, for example, to ‘learn more’ to ‘take action’ or to ‘join us’. Often we use this block to promote petitions.
This used to be a bespoke Amnesty block within the Humanity Theme, but has been changed into a Pattern instead meaning the same design is now made up of core WordPress blocks. This will help with the ongoing maintenance and sustainability of the Humanity theme.
Adding a Call to Action Pattern
- Click the + icon to add a new block from the top toolbar in the page/post editor.
- Click on the Patterns tab.
- Either choose which category of patterns you want to select from or click Explore to open a modal that allows you to have a larger view of each pattern.
- In the explore view, you can type ‘call to action’ into the search bar to find the Call to Action patterns.
- There are two Call to Action options, one with a grey background and one with no background but a black line above and below.
- Click on the pattern you wish to insert or drag and drop the pattern into your content. If you click on the pattern, it will be inserted at the location of your cursor.
Call to Action settings
The call to action pattern is made up of a group block containing two heading blocks, a paragraph block and a buttons block. See the documentation on each of these blocks to find out more about the available settings.
Call to Action pattern demonstration
Call to Action Grey
(Pre-Heading)
(Heading)
(Content)
Call to Action Borders
(Pre-Heading)
(Heading)
(Content)