Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  2.1.0
  Add CHANGELOG.md
  Remove empty line.
  Add `composer.json`
  Add requirements
  Fix bug in README filter example
  • Loading branch information
GaryJones committed Aug 10, 2016
2 parents a6e84aa + 6e758b2 commit 26f89f5
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 4 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Change Log for Genesis Header Nav

## [Unreleased]

_Nothing yet._

## [2.1.0] - 2016-08-10

* Add `composer.json`.
* Add this change log.
* Fix bug in documentation.

## [2.0.0] - 2014-11-19

_To be completed._

## [1.3.1] - 2014-11-08

* Fix for priority filter bug.

## [1.3.0] - 2014-10-30

_To be completed._

## [1.2.0] - 2013-09-07

_To be completed._

## [1.1.0] - 2013-08-30

* Add filter for priority of nav within header.

## 1.0.0 - 2013-08-30

* Initial release.

[Unreleased]: https://github.com/GaryJones/genesis-header-nav/compare/2.1.0...HEAD
[2.1.0]: https://github.com/GaryJones/genesis-header-nav/compare/2.0.0...2.1.0
[2.0.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.3.1...2.0.0
[1.3.1]: https://github.com/GaryJones/genesis-header-nav/compare/1.3.0...1.3.1
[1.3.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.2.0...1.3.0
[1.2.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.0.0...1.1.0
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Then go to your Plugins screen and click __Activate__.

This plugin supports the [GitHub Updater](https://github.com/afragen/github-updater) plugin, so if you install that, this plugin becomes automatically updateable direct from GitHub.

## Change Log

See the [CHANGELOG.md](CHANGELOG.md).

## Usage

Once activated, head to Appearance -> Menus. Create a menu as usual, and assign it to the Header menu location.
Expand Down Expand Up @@ -130,6 +134,7 @@ function prefix_genesis_header_nav_name( $translated_text, $original_text, $doma
if ( 'genesis-header-nav' === $domain && 'Header' === $original_text ) {
return 'Top';
}
return $translated_text;
}
~~~

Expand Down
23 changes: 23 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "garyjones/genesis-header-nav",
"description": "WordPress plugin that registers a menu location and displays it inside the header for a Genesis Framework child theme.",
"keywords": ["genesis", "genesis-header-nav", "navigation"],
"type": "wordpress-plugin",
"homepage": "https://github.com/garyjones/genesis-header-nav",
"license": "GPL-2.0+",
"authors": [
{
"name": "Gary Jones",
"homepage": "https://gamajo.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/garyjones/genesis-header-nav/issues",
"source": "https://github.com/garyjones/genesis-header-nav"
},
"require": {
"composer/installers": "^1.0",
"php": ">=5.3.4"
}
}
7 changes: 4 additions & 3 deletions genesis-header-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,23 @@
* @package Genesis_Header_Nav
* @author Gary Jones
* @license GPL-2.0+
* @link https://github.com/GaryJones/genesis-header-nav
* @copyright 2013 Gary Jones, Gamajo Tech
*
* @wordpress-plugin
* Plugin Name: Genesis Header Nav
* Plugin URI: https://github.com/GaryJones/genesis-header-nav
* Description: Registers a menu location and displays it inside the header for a Genesis Framework child theme.
* Version: 2.0.0
* Version: 2.1.0
* Author: Gary Jones
* Author URI: http://gamajo.com/
* Author URI: https://gamajo.com
* Text Domain: genesis-header-nav
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
* GitHub Plugin URI: https://github.com/GaryJones/genesis-header-nav
* GitHub Branch: master
* Requires WP: 3.9
* Requires PHP: 5.3
*/

namespace Gamajo\GenesisHeaderNav;
Expand Down
1 change: 0 additions & 1 deletion includes/class-genesis-header-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @package Genesis_Header_Nav
* @author Gary Jones
* @license GPL-2.0+
* @link https://github.com/GaryJones/genesis-header-nav
* @copyright 2013 Gary Jones, Gamajo Tech
*/

Expand Down

0 comments on commit 26f89f5

Please sign in to comment.