Shared Fieldset not showing on Custom Post Type

This topic is: not resolved
Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
September 8, 2014 at 10:16 pm #3524
Post count: 1

I just added a new post type to an existing field set. The fieldset is not showing up on the edit page of that post type — even though other pre-existing field sets assigned to that new post type ARE showing up.

For example: I created a post type called Landing Pages. I assigned the existing field sets named “Banner” and “Benefits” to that post type. “Banner” is showing up on the edit screen for the landing page post type, “Benefits” is not.

Can you give me some idea of why this might happen, or how to debug?

September 8, 2014 at 11:30 pm #3525
Post count: 1

nevermind figured it out. I had named two fieldsets with the same slug

September 9, 2014 at 9:41 am #3526
Post count: 207

Great, I’m glad you were able to figure it out.

When field sets are named the same, field sets have an order of priority like so (ordered from lowest to highest priority):

1. shared field sets
2. post type, taxonomy, and user role field sets
3. template field sets

This allows you to override a shared field set with something more specific for post types, and then be even more specific for templates if you need to.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Latest From the Blog

MasterPress 1.3.10 is now available

9th November 2023

MasterPress 1.3.10 is a feature and bugfix release. Workaround for fatal error introduced by changes to WordPress’ wpdb class in WordPress 6.4. Added actions to MPC files upload_field & WF image save_image functions.

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the hosted service.

Three AM