2017 © Pedro Peláez
 

library wp-theme-config

Sensible default settings and intelligent overrides for theming WordPress.

image

elcontraption/wp-theme-config

Sensible default settings and intelligent overrides for theming WordPress.

  • Friday, April 6, 2018
  • by elcontraption
  • Repository
  • 1 Watchers
  • 0 Stars
  • 507 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 23 Versions
  • 0 % Grown

The README.md

WordPress Theme Config

Sensible default settings and intelligent overrides for theming WordPress., (*1)

Installation

Via Composer:, (*2)

composer require elcontraption/wp-theme-config

Setup

In your theme's functions.php file:, (*3)

/**
 * Require Composer's autoloader if you haven't already:
 */
require('vendor/autoload.php');

/**
 * Initialize ThemeConfig.
 */
ElContraption\WpThemeConfig\ThemeConfig::getInstance();

Check out the default config files. You may override any of the settings within the default config files by creating a file of the same name in your theme's config directory. Your config override must return an array. You only need to declare the settings you would like to override., (*4)

Adding configuration settings

TODO: add documentation for this., (*5)

Important: all config settings are initialized on after_setup_theme, so actions that need to be initialized on that hook should not be wrapped in add_action., (*6)

The Versions

06/04 2018

dev-master

9999999-dev

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/04 2018

0.2.20

0.2.20.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/12 2017

0.2.19

0.2.19.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/12 2017

0.2.18

0.2.18.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/12 2017

0.2.17

0.2.17.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/12 2017

0.2.16

0.2.16.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

20/11 2017

0.2.15

0.2.15.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

20/06 2017

0.2.14

0.2.14.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

01/12 2015

0.2.13

0.2.13.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

01/12 2015

0.2.12

0.2.12.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

25/11 2015

0.2.11

0.2.11.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

25/11 2015

0.2.10

0.2.10.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

06/11 2015

0.2.9

0.2.9.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

27/10 2015

0.2.8

0.2.8.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

27/10 2015

0.2.7

0.2.7.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

25/06 2015

0.2.6

0.2.6.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

11/04 2015

0.2.5

0.2.5.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

24/03 2015

0.2.4

0.2.4.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

24/03 2015

0.2.3

0.2.3.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

24/03 2015

0.2.2

0.2.2.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

24/03 2015

0.2.1

0.2.1.0

Sensible default settings and intelligent overrides for theming WordPress.

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires

23/03 2015

0.2.0

0.2.0.0

Sensible configuration for themeing WordPress.

  Sources   Download

The Requires

  • php >=5.4.0

 

20/03 2015

0.1.0

0.1.0.0

Sensible (and configurable) configuration for WordPress.

  Sources   Download