Skip to content

Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas!

License

Notifications You must be signed in to change notification settings

pressgang-wp/pressgang

 
 

Repository files navigation

PressGang

Hijacking Your WordPress Development Workflow

Ahoy matey! Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas.

https://docs.pressgang.dev/

Overview

PressGang is a powerful and flexible WordPress parent theme framework designed to streamline theme development and enhance customization capabilities. As a parent theme framework, PressGang serves as a foundation upon which child themes can be built, allowing developers to create custom themes more efficiently while inheriting the robust features and structure of the PressGang parent theme.

Key Features

  1. Rapid Development: Engineered for quickly building WordPress themes with clean and modern coding standards, accelerating the development process by providing a solid foundation and tools.
  2. Timber Integration: Utilizes the Timber library, separating template code from PHP logic through the Twig templating engine, resulting in cleaner, more maintainable code.
  3. MVC-inspired Architecture: Introduces the concept of Controllers to WordPress theme development, expanding on the Model-View-Controller (MVC) approach for better organization and separation of concerns.
  4. Modern PHP Practices: Emphasizes Configuration over Convention, inspired by frameworks like Laravel, allowing for bootstrapping repetitive WordPress tasks via configuration files, reducing boilerplate code, and increasing developer productivity.
  5. Composer and PSR-4: Utilizes Composer for dependency management and adheres to PSR-4 coding standards for autoloading, ensuring a consistent and modern code structure.
  6. Flexibility and Customization: Maintains the core WordPress structure, allowing developers to leverage their existing WordPress knowledge while benefiting from additional features. It provides powerful tools and conventions but remains flexible for direct interaction with WordPress as needed.

By leveraging these features, PressGang empowers developers to create sophisticated, performant, and maintainable WordPress themes with greater ease and efficiency.

Shiver Me Timber: Prerequisites

To chart a course for success with PressGang, it helps to be familiar with these trusty tools:

  • Timber - Just like a seasoned shipwright uses the best timber, PressGang is built on the Timber library to craft clean, powerful themes.
  • Composer - Manage your dependencies and keep everything shipshape with Composer.
  • Grunt - Ensure plain sailing with task automation.

Getting Started

PressGang is designed as a WordPress parent theme that acts as a library for your child theme. To get started, you will need to create a child theme.

Quick Start with PressGang-Child

The fastest way to get up and running is by using our pressgang-child repository, which includes a grunt-init template for creating a PressGang-ready child theme.

To get started:

  1. Clone the pressgang-child repository:

    git clone https://github.com/pressgang-wp/pressgang-child your-theme-name
  2. Navigate into your new theme directory:

    cd your-theme-name
  3. Follow the instructions in the README to set up your environment and start developing your child theme.

Manual Setup

If you prefer to start from scratch, you can manually set up your PressGang environment.

  1. Clone the PressGang repository:

    git clone https://github.com/pressgang-wp/pressgang
  2. Create your own child theme by following the WordPress guidelines for child themes.

Composer Installation

You can also include PressGang as a dependency in your project using Composer.

  1. Require the PressGang package via Composer:

    composer require pressgang-wp/pressgang
  2. Create and configure your child theme to extend the PressGang parent theme.

For detailed instructions on setting up and configuring your child theme, refer to the PressGang documentation.

Documentation

Uncover the buried treasure at: https://docs.pressgang.dev/

License

PressGang is open-sourced software licensed under the MIT license.

About

Modernize your WordPress development and ship your WordPress themes faster than ever. PressGang anchors your workflow in modern development practices. Build cleaner, faster, smarter themes and navigate your development course to calmers seas!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 96.2%
  • Twig 3.0%
  • Other 0.8%