One place to store your configurations

WP Config, not be confused with the original wp-config.php file used in WordPress, stored configuration variables in clean and editable way.

Just pass your configurations file or array to the WP Config class, and use this class to load your configurations on any place you desire.

Using WP Config

WP Config can be installed by including the script within your code or including it using composer. Subsequently, you have to pass a file which returns your configurations array or a configurations array to the class instance.

These configurations are then approachable through the WP Config Object, and new configurations can be added or modified in a recursive way.

Documentation on the installation and usage of WP Config can be found on Github.

  • Can parse multidimensional configurations
  • Used to store configurations arrays in a single object
  • Specifically for theme and plugin development

Our Complete WordPress Script Collection

During the years, we found out that we were repeating the same code over and over in our WordPress development projects. The obvious thought came in mind: Why don’t we store these pieces of code in reusable scripts on GitHub? And so it happened, our repository was born.

WP Components is a collection of common components used in the development of websites, such as breadcrumbs.

WP Custom Fields is a kick-ass framework for custom customizer, options pages and post, taxonomy or user metabox fields.

WP Enqueue is a script for enqueing scripts and styles easily.

WP Optimize allows to implement basic optimizations to a WordPress installation by the removal of redundant scripts and code.

WP Register is a script that allows to easily register custom posts, taxonomies, sidebars, menus and widgets.

WP Updater is a script to update a theme or plugin through an external repository.

WP Router is a WordPress script that enables a developer to add custom routes and link these to custom templates.

WP Config is a class which can be used to store, add or modify configurations for a theme or plugin.

WP Autoload shows how one can use autoloading with WordPress.