Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #61 from kurtw/menu-position
Browse files Browse the repository at this point in the history
Fix menu position to show hidden post types
  • Loading branch information
Scotchester committed May 6, 2015
2 parents 9fa120f + c9f13be commit 5290dfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.


## 1.5.6 - 2015-05-06

### Changed
- Fix menu position parameter for custom post types

## 1.5.5 - 2015-04-21

### Changed
Expand Down
2 changes: 1 addition & 1 deletion cms-toolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
available throughout the application and make building complex functionality
in WordPress a little easier.
Version: 1.5.5
Version: 1.5.6
Author: Greg Boone, Aman Kaur, Matthew Duran, Scott Cranfill, Kurt Wall
Author URI: https://github.com/cfpb/
License: Public Domain work of the Federal Government
Expand Down
2 changes: 1 addition & 1 deletion inc/post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function build_post_type( $name, $plural, $slug, $prefix = '', $args = ar
'exclude_from_search' => false,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 20.1,
'menu_position' => 20,
'capability_type' => 'post',
'hierarchical' => false,
'supports' => array( 'title', 'author', 'editor', 'revisions', 'page-attributes', 'custom-fields', ),
Expand Down

0 comments on commit 5290dfa

Please sign in to comment.