Support

Home Forums Event Espresso Premium People Admin – Missing Custom Fields

People Admin – Missing Custom Fields

Posted: August 4, 2022 at 3:22 pm


pathwise

August 4, 2022 at 3:22 pm

We are using People Admin to add our Instructors, then we also made use of WordPress Custom Fields for some additional information. However, we are no longer able to see the Custom Fields or the screen options to even enable custom fields, they seemed to have disappeared.


Tony

  • Support Staff

August 5, 2022 at 9:18 am

Hi there,

Do you have the advanced custom fields plugin enabled on the site?


pathwise

August 5, 2022 at 10:18 am

Not Advanced Custom Fields, but the WordPress Custom Fields.
Like the ones shown in this screenshot https://i0.wp.com/css-tricks.com/wp-content/uploads/2022/01/custom-field-ui-in-wordpress.png


Tony

  • Support Staff

August 5, 2022 at 10:55 am

I understand what you mean, WordPress custom fields are a core function, we enable them when we register the custom post type within EE so they should always be visible.

The fact that they aren’t in the screen options for you means you could have a capabilities issue or something has removed them. The most common is ACF as it removes the default meta box in place of its own, but then if you don’t enable ACF on Custom Post Types you end up with no custom fields and no ACF.

So, do you have ACF installed on the site? 🙂


pathwise

August 5, 2022 at 11:01 am

I see, thank you. Yes we do have Advanced Custom Fields Pro installed.


Tony

  • Support Staff

August 8, 2022 at 7:41 am

Ok, so if you have ACF installed it will remove the WordPress custom fields by default.

You can either, create a new field group within ACF to display within the People post type, OR if you have already use WP custom fields and wont to continue to use those on EE people you can use a snippet like this:

https://gist.github.com/Pebblo/df1d78cc43708b46743706591781dc3c

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso