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.
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)
Read our documentation: https://pinegrow.com/docs/wordpress/actions/block/
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.
Read our documentation: https://pinegrow.com/docs/wordpress/enqueue-scripts-and-styles/
How-to create a multi-level menu when using the Bootstrap 4 navbar?
This question comes up very regularly, and we have made a dedicated tutorial.
IMPORTANT: Please read the entire tutorial that we have recently updated with jQuery related details.
How-to organize your templates’ structure, and what are some of the essential WordPress smart actions?
Know more about the basics of WordPress theme creation with Pinegrow.
Discover and use Template parts
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.
Read our documentation: https://pinegrow.com/docs/wordpress/actions/reusable-template-part/
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.
Read our documentation: https://pinegrow.com/docs/wordpress/actions/function/
How-to add pagination and breadcrumbs to your publications?
What could be better than being able to navigate your WordPress site using efficient navigation features?
Here is our documentation on pagination and breadcrumbs: https://pinegrow.com/docs/wordpress/actions/post-pagination/ and https://pinegrow.com/docs/wordpress/actions/post-breadcrumbs/
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.
Read our documentation: https://pinegrow.com/docs/wordpress/actions/sidebar/
How-to create efficient forms?
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.
Read our documentation: https://pinegrow.com/docs/wordpress/actions/form/
How-to solve the most common problems during the development steps?
The life of a WordPress theme developer is full of pitfalls. We’ve listed the most common ones.
Read our documentation: https://pinegrow.com/docs/wordpress/troubleshooting/
Do you want to learn even more?
Our FAQ, updated every week, should also provide you with a huge number of answers: