WordPress Tutorials

Custom Call To Action Block Pattern For Any WordPress Theme

This tutorial provides the code which enables you to add a custom pattern to any WordPress theme. In this case, we add the pattern to the Twenty Twenty default theme for WordPress and also test it using the Genesis Sample child theme by StudioPress.

Custom CYA block Pattern WordPress

Demo Video

Shows how the code adds a new pattern to a new category named custom.

Tested using the Twenty Twenty Two full site editing theme for WordPress and the Genesis Sample child theme for Genesis.

Installation Steps

There’s 2 steps :

  1. # Upload the folder named patterns to your child theme directory like this :

  3. # Copy & paste the PHP code form the functions.php file to the end of your child themes functions file.

Download Folder

Leave a Reply

Your email address will not be published. Required fields are marked *