Wordpress
Table Of Contents
Themes
How to Select (Generally)
- 5k - 15k : Beaver Builder Theme
- 15k+ : Vibrato
Beaver Builder Theme
Our premium theme of choice. The beaver builder ecosystem works well for smaller builds when you don't need to hand-code everything.
Vibrato
Our custom wordpress theme boilerplate. Initially inspired by Roots - Sage 8 to include OOP, Laravel Mix, Vue.js, & Carbon Fields.
Plugins
Common Types
SEO Plugins
Page Builder Plugins
Optimization Plugins
- Autoptimize
- Cloudways - Breeze
- WP Sweep
- Query Monitor
- WP Smush Pro
Migration Plugins
Form Plugins
Backup and Staging Plugins
Custom Plugins
We have created boilerplates for writing custom plugins.
Basic Plugin: For quick functionality that doesn't belong in a theme:
Gutenberg Plugin: For quick custom Gutenberg block that doesn't belong in a theme:
Full Plugin: For full functionality that needs a modular approach:
- Coming soon...
Custom Fields
Our custom fields of choice. Way more efficient and performant than ACF. Carbon Fields is not a plugin but a library loaded from composer:
Best Practices
Wordpress is a beast. There is a million ways to do everything which makes it hard to keep developing within the wordpress ecosystem consistent. To alleviate those issues please follow these general guidelines:
- Never edit a parent theme: (unless its a custom theme we created) always use a child theme when dealing with pre-made themes so that it does not get overwritten when a theme author updates their code
- Never edit a plugin: always pull the necessary code/filter to be edited into your own plugin or child theme so that it does not get overwritten when the plugin author updates their code.
- Use WP Filters & Actions: Whenever possible opt for using a wordpress filter or action instead of overriding a template file.
- Be Careful with Plugins: Make sure the plugins you are using have a track record of being successful and maintained.
- Be aware of the database: Evertime you press
saveorpublishin wordpress a record is stored in the database. Similarly, alot of plugins come with their ownbaggageof database tables. We need to be aware of what plugins and themes are doing to the database for security and performance reasons. If you arecleaningup a site and removing unnecessary plugins, first look in their settings to see if they will delete what they came with after uninstalling. One of the most important concepts to understand in the wp database is within thewp_optionstable and how to optimize the autoloaded data - Does it need to be within wordpress? Not every functionality needs to be built within the site. If you are slapping together 5 plugins to get a desired affect, than its worth looking into external options that you can simply include in your site.