# Form Smart Action allows re-registering WP-reserved post type "Post"

**URL:** <https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957>\
**Category:** Pinegrow Theme Converter\
**Tags:** bug\
**Created:** [November 29, 2021, 3:18am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957 "2021-11-29T03:18:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catative](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/catative/32/4019_2.png) [@Catative](https://forum.pinegrow.com/u/Catative)\
**Post date:** [November 29, 2021, 3:18am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/1 "2021-11-29T03:18:18Z")

</div>

Hello. When I select “post” option from the “Post type” drop-down list and click on the “Register custom post type” checkbox in the “Post Type Options” section of the Form Smart Action, the Wordpress system post type is re-registered:

 ![bug in form smart action](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/2d0b010baa136fee6a810bb2af31ffbe1a549be4.png)

---

<div class="post-metadata">

**Author:** ![Catative](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/catative/32/4019_2.png) [@Catative](https://forum.pinegrow.com/u/Catative)\
**Post date:** [November 29, 2021, 3:18am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/2 "2021-11-29T03:18:53Z")

</div>

This action generates the following code in my theme’s functions.php file:

 ![php code generated in theme's functions.php file](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/472a5e67e2f8d5bd22674be4f310bb991c84867a.png)

---

<div class="post-metadata">

**Author:** ![Catative](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/catative/32/4019_2.png) [@Catative](https://forum.pinegrow.com/u/Catative)\
**Post date:** [November 29, 2021, 3:19am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/3 "2021-11-29T03:19:24Z")

</div>

This leads to incorrect display of the custom post type in the admin panel:

 ![duplicate post types in the admin panel](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/7/7626dc5e91af2bd20eeed583585fccdfa067608d.png)

Is this a bug or a feature?🙂

---

<div class="post-metadata">

**Author:** ![abirana](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/abirana/32/4162_2.png) [@abirana](https://forum.pinegrow.com/u/abirana)\
**Post date:** [November 29, 2021, 6:18am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/4 "2021-11-29T06:18:15Z")

</div>

I’m not really a pro in WordPress, but I know that **Register custom post type** allows you to create custom post type for you. But if you already have created custom post types, then you shouldn’t enable that in there. So this is not a bug.

---

<div class="post-metadata">

**Author:** ![Catative](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/catative/32/4019_2.png) [@Catative](https://forum.pinegrow.com/u/Catative)\
**Post date:** [December 7, 2021, 5:29am UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/5 "2021-12-07T05:29:12Z")

</div>

Yes, you are right.

However, the post type “Post” is already registered by Wordpres by default. The problem is that _ **Pinegrow Theme Converter** _ allows you to re-register a custom post with the name of an already registered post. This leads to errors in the admin panel (menu items are duplicated, the existing standard “Posts” section is renamed to the name given to the newly created custom post type). In the screenshot of the admin panel above, I depicted this.

I think the ability to register custom post types that match the standard post types is an additional opportunity to shoot in the foot for users of the program, especially for those who are just starting to study it.

@RobM and @Emmanuel, what do you think of this?

---

<div class="post-metadata">

**Author:** ![Mat](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mat](https://forum.pinegrow.com/u/Mat)\
**Post date:** [March 25, 2022, 7:06pm UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/6 "2022-03-25T19:06:47Z")

</div>

Interesting, it has been 3 months and not a peep. Not a good look for the support team.

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [March 25, 2022, 7:39pm UTC](https://forum.pinegrow.com/t/form-smart-action-allows-re-registering-wp-reserved-post-type-post/5957/7 "2022-03-25T19:39:38Z")

</div>

Thanks for the feedback which had indeed escaped us and which we will look at more closely.

Note: The Pinegrow community forum, although regularly monitored by the Pinegrow team members, is not the official support channel. Sometimes, as it was the case here, some messages can escape us and we are sincerely sorry for that.

To contact the technical support directly, please, go to [Contact Us | Pinegrow Web Editor](https://pinegrow.com/contact-us/)
