Giter Club home page Giter Club logo

child-customizer's Introduction

=== Child Customizer ===
Contributors: nphaskins
Tags: child theme
Donate link: http://nickhaskins.co
Requires at least: 3.0.1
Tested up to: 3.8
Stable tag: trunk License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Safely override a child theme template.

Plugin is to be used with Wordpress child themes only. The plugin checks to see if any theme template files are in the 'wp-content/cc-templates' directory, and if there are, it will use that template instead of the child themes template.

Provides support to override index, single, archive, author, page, search, and 404.

Mainly developed for use with my own framework but can be used with any Wordpress child theme.

Installation

  1. Upload "child-customizer" to the "/wp-content/plugins/" directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.

Frequently Asked Questions

How do I override a child template?

Copy any template from the child theme into the 'wp-content/cc-temlates' directory.

How can I override Child Theme CSS?

Create a style.css file in 'wp-content/cc-temlates', and it will then be automatically loaded for you.

== Changelog ==

= 1.2 ==

  • Moved templates dir to wp-content so not overriden if plugin is ever updated

= 1.1 =

  • Load CSS file if one is present

= 1.0 =

  • Initial release.

child-customizer's People

Stargazers

Erwan Lescop avatar Paulius avatar Sébastien Dumont avatar  avatar

Watchers

James Cloos avatar Nick Haskins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.