Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add composer possibility
  • Loading branch information
bueltge committed Nov 3, 2014
1 parent c25b16c commit bcd3035
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
25 changes: 25 additions & 0 deletions composer.json
@@ -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"
}
}
2 changes: 1 addition & 1 deletion footer.php
Expand Up @@ -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 ) );
?>
Expand Down
2 changes: 1 addition & 1 deletion inc/admin/custom-admin-branding.php
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion inc/admin/readme.md
Expand Up @@ -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
Expand Down
9 changes: 8 additions & 1 deletion readme.md
Expand Up @@ -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?
Expand Down

0 comments on commit bcd3035

Please sign in to comment.