Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit 26f89f5

Browse files
committed
Merge branch 'develop'
* develop: 2.1.0 Add CHANGELOG.md Remove empty line. Add `composer.json` Add requirements Fix bug in README filter example
2 parents a6e84aa + 6e758b2 commit 26f89f5

File tree

5 files changed

+75
-4
lines changed

5 files changed

+75
-4
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Change Log for Genesis Header Nav
2+
3+
## [Unreleased]
4+
5+
_Nothing yet._
6+
7+
## [2.1.0] - 2016-08-10
8+
9+
* Add `composer.json`.
10+
* Add this change log.
11+
* Fix bug in documentation.
12+
13+
## [2.0.0] - 2014-11-19
14+
15+
_To be completed._
16+
17+
## [1.3.1] - 2014-11-08
18+
19+
* Fix for priority filter bug.
20+
21+
## [1.3.0] - 2014-10-30
22+
23+
_To be completed._
24+
25+
## [1.2.0] - 2013-09-07
26+
27+
_To be completed._
28+
29+
## [1.1.0] - 2013-08-30
30+
31+
* Add filter for priority of nav within header.
32+
33+
## 1.0.0 - 2013-08-30
34+
35+
* Initial release.
36+
37+
[Unreleased]: https://github.com/GaryJones/genesis-header-nav/compare/2.1.0...HEAD
38+
[2.1.0]: https://github.com/GaryJones/genesis-header-nav/compare/2.0.0...2.1.0
39+
[2.0.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.3.1...2.0.0
40+
[1.3.1]: https://github.com/GaryJones/genesis-header-nav/compare/1.3.0...1.3.1
41+
[1.3.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.2.0...1.3.0
42+
[1.2.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.1.0...1.2.0
43+
[1.1.0]: https://github.com/GaryJones/genesis-header-nav/compare/1.0.0...1.1.0

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Then go to your Plugins screen and click __Activate__.
5858

5959
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.
6060

61+
## Change Log
62+
63+
See the [CHANGELOG.md](CHANGELOG.md).
64+
6165
## Usage
6266

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

composer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "garyjones/genesis-header-nav",
3+
"description": "WordPress plugin that registers a menu location and displays it inside the header for a Genesis Framework child theme.",
4+
"keywords": ["genesis", "genesis-header-nav", "navigation"],
5+
"type": "wordpress-plugin",
6+
"homepage": "https://github.com/garyjones/genesis-header-nav",
7+
"license": "GPL-2.0+",
8+
"authors": [
9+
{
10+
"name": "Gary Jones",
11+
"homepage": "https://gamajo.com",
12+
"role": "Developer"
13+
}
14+
],
15+
"support": {
16+
"issues": "https://github.com/garyjones/genesis-header-nav/issues",
17+
"source": "https://github.com/garyjones/genesis-header-nav"
18+
},
19+
"require": {
20+
"composer/installers": "^1.0",
21+
"php": ">=5.3.4"
22+
}
23+
}

genesis-header-nav.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@
55
* @package Genesis_Header_Nav
66
* @author Gary Jones
77
* @license GPL-2.0+
8-
* @link https://github.com/GaryJones/genesis-header-nav
98
* @copyright 2013 Gary Jones, Gamajo Tech
109
*
1110
* @wordpress-plugin
1211
* Plugin Name: Genesis Header Nav
1312
* Plugin URI: https://github.com/GaryJones/genesis-header-nav
1413
* Description: Registers a menu location and displays it inside the header for a Genesis Framework child theme.
15-
* Version: 2.0.0
14+
* Version: 2.1.0
1615
* Author: Gary Jones
17-
* Author URI: http://gamajo.com/
16+
* Author URI: https://gamajo.com
1817
* Text Domain: genesis-header-nav
1918
* License: GPL-2.0+
2019
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
2120
* Domain Path: /languages
2221
* GitHub Plugin URI: https://github.com/GaryJones/genesis-header-nav
2322
* GitHub Branch: master
23+
* Requires WP: 3.9
24+
* Requires PHP: 5.3
2425
*/
2526

2627
namespace Gamajo\GenesisHeaderNav;

includes/class-genesis-header-nav.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @package Genesis_Header_Nav
66
* @author Gary Jones
77
* @license GPL-2.0+
8-
* @link https://github.com/GaryJones/genesis-header-nav
98
* @copyright 2013 Gary Jones, Gamajo Tech
109
*/
1110

0 commit comments

Comments
 (0)