WordPress Theme Development basics: We get you covered!
Published Updated
Our documentation about WordPress theme development covers the most recurring topics and questions, but it turns out that it is rarely the first place where Pinegrow users seek for information.
So here’s a reminder of the sections we find most appealing in light of the questions we recently received in the Pinegrow Technical Support inbox.
On this page
How-to create Gutenberg blocks with Pinegrow?
Pinegrow, combined with the excellent ACF Pro plugin, allows you to easily create custom blocks for the WordPress editor. (from any HTML element)
How-to use conditionals and load your Javascripts and CSS only when you need them?
For performance and optimization reasons, you’ve learned that it’s not a good idea to load all the scripts and stylesheets into every template in your WordPress theme.
At the heart of WordPress, there are template parts.
The primary reason to create a template part in WordPress is to avoid repeating code: if multiple files use several identical lines of code, this code can be pulled into a template part, allowing it to be stored (and modified) in a single place.
How-to integrate or call existing custom PHP functions in your templates?
Pinegrow includes a library of smart actions that cover most WordPress theme creation needs, but you can integrate classic PHP code or call existing functions from your functions.php or custom.php files for all the other situations.
How-to create sidebars to position Widgets in your templates?
WordPress offers handy widgets for many needs. For example, the text widget can be used to embed HTML code. But these widgets need places in your templates. That’s the role of sidebars.
To communicate and exchange with your visitors, forms, and email is today the sure value. Thanks to our smart form creation action, you will be able to create efficient forms easily.