Permalink
Browse files

Add composer possibility

  • Loading branch information...
bueltge committed Nov 3, 2014
1 parent c25b16c commit bcd30358570a1ffcd43f034f6cbf3d491f8dfb22
Showing with 36 additions and 4 deletions.
  1. +25 −0 composer.json
  2. +1 −1 footer.php
  3. +1 −1 inc/admin/custom-admin-branding.php
  4. +1 −1 inc/admin/readme.md
  5. +8 −1 readme.md
View
@@ -0,0 +1,25 @@
{
"name": "bueltge/wordpress-basis-theme",
"description": "A simple Theme to start a new WordPress Theme",
"keywords" : ["wordpress", "theme"],
"license": "GPL 2+",
"version": "0.1",
"type": "wordpress-theme",
"homepage": "http://wpbasis.de/",
"authors": [
{
"name": "Frank Bültge",
"homepage": "http://bueltge.de",
"email": "frank@bueltge.de",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/bueltge/wordpress-basis-theme/issues"
},
"require": {
"php": ">=5.3",
"composer/installers": "~1.0",
"phpmd/phpmd": "2.1.3"
}
}
View
@@ -23,7 +23,7 @@
?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php do_action( 'wp_basis_footer_credits' );
printf( __( '<p class="site-info">Theme: %1$s by %2$s.</p>', 'wp_basis' ), 'WP Basis', '<a href="https://github.com/bueltge/WordPress-Basis-Theme/network/members" rel="designer">Contributer Team</a>' );
printf( __( '<p class="site-info">Theme: %1$s by %2$s.</p>', 'wp_basis' ), 'WP Basis', '<a href="https://github.com/bueltge/wordpress-basis-theme/network/members" rel="designer">Contributer Team</a>' );
if ( defined( 'WP_DEBUG' ) && WP_DEBUG )
printf( __( '<p>Generate Page with %1$sq in %2$ss.</p>', 'wp_basis' ), $wpdb->num_queries, timer_stop( 0 ) );
?>
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Custom Admin Branding
* Plugin URI: https://github.com/bueltge/WordPress-Basis-Theme/tree/namespace/inc/admin
* Plugin URI: https://github.com/bueltge/wordpress-basis-theme/tree/namespace/inc/admin
* Description: Allow theme/plugin developers to easily brand the WordPress login and admin screens
* Version: 0.0.1
* Author: Frank Bültge
View
@@ -59,7 +59,7 @@ The example plugin have also a small function to hide the update check for this
<?php
/**
* Plugin Name: Custom Admin Branding
* Plugin URI: https://github.com/bueltge/WordPress-Basis-Theme/tree/namespace/inc/admin
* Plugin URI: https://github.com/bueltge/wordpress-basis-theme/tree/namespace/inc/admin
* Description: Allow theme/plugin developers to easily brand the WordPress login and admin screens
* Version: 0.0.1
* Author: Frank Bültge
View
@@ -19,7 +19,14 @@ The new version with the codename `namespace` ;) is usable, but changed in the c
* PHP 5.3 (use PHP namespaces)
## Child Theme Usage
See the repository for a [starter kit](https://github.com/bueltge/WordPress-Basis-Theme-Child-Starter), a example.
See the repository for a [starter kit](https://github.com/bueltge/wordpress-basis-theme-Child-Starter), a example.
## Composer Usage
The plugin is available as Composer package and can be installed via Composer:
`composer create-project bueltge/wordpress-basis-theme --no-dev`.
The package is on [packagist](https://packagist.org/packages/bueltge/wordpress-basis-theme) and the package name is `bueltge/wordpress-basis-theme`.
## Grunt usage
### What is Grunt?

0 comments on commit bcd3035

Please sign in to comment.