Title: Menu Position (&quot;Get code&quot; beta feature)
Last modified: August 21, 2016

---

# Menu Position ("Get code" beta feature)

 *  Resolved [digitalfaber](https://wordpress.org/support/users/digitalfaber/)
 * (@digitalfaber)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/menu-position-get-code-beta-feature/)
 * I noticed that code generated by CPT UI (which is intended to be pasted into 
   functions.php) contains a bug.
 * The ‘menu_position’ parameter value (numeric) shouldn’t be included into single
   quotes, as the parameter will be ignored and item position will be the default(
   under Comments).
 * ‘menu_position’ => ‘5’
 * should be
 * ‘menu_position’ => 5
 * Just my two cents 🙂
 * [https://wordpress.org/plugins/custom-post-type-ui/](https://wordpress.org/plugins/custom-post-type-ui/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 11 months ago](https://wordpress.org/support/topic/menu-position-get-code-beta-feature/#post-5066020)
 * [https://github.com/WebDevStudios/custom-post-type-ui/issues/165](https://github.com/WebDevStudios/custom-post-type-ui/issues/165)
 * If there are enough good, easy, things that *need* to be fixed right away, it
   could be part of a warranted bugfix release.

Viewing 1 replies (of 1 total)

The topic ‘Menu Position ("Get code" beta feature)’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [menu position](https://wordpress.org/support/topic-tag/menu-position/)
 * [parameters](https://wordpress.org/support/topic-tag/parameters/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/menu-position-get-code-beta-feature/#post-5066020)
 * Status: resolved