12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Feb 20, 2022

Template for Registering a Custom Block in WP Grid Builder

Sridhar Katakam

In the previous tutorial, we showed how to register a custom block for WP Grid Builder.

This members-only tutorial provides a template/blueprint along with a practical example for the same so you can start replacing certain placeholders and simply place the HTML/PHP for showing the content related to posts in the cards.

Template

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Register <MY BLOCK> Block for WPGB
Ex.: Register Add Favorite Block for WPGB

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right