jaredcobb/ccb-core

main_leader information missing from Admin UI

tamala73 opened this issue · 2 comments

When I perform a group sync with the setting to 'Show In Admin UI?' I am not seeing the custom fields leader_full_name and leader_email.

Hi @tamala73

The "Show In Admin UI" is a setting meant to allow your Groups and their taxonomies to be viewable in the menu like so:

screen shot 2019-01-06 at 9 09 09 am

However additional fields (that are not necessarily shared across all groups) are stored as something called Post Meta (aka Custom Fields).

Here's a bit more info on how various types of data get stored: https://github.com/jaredcobb/ccb-core/wiki/CCB-Entities

I recommend installing a plugin called Post Meta Inspector https://wordpress.org/plugins/post-meta-inspector/ which allows you to see that info directly in a Group's page (but only in the admin).

If you need to output post meta in your template, you would use the native WordPress function https://developer.wordpress.org/reference/functions/get_post_meta/

Finally, here's a good doc on Post Meta (aka Custom Fields) that has a lot of great info: https://codex.wordpress.org/Custom_Fields

Thanks!