Thanks Michael,
I disabled the user role editor plugin and still encountered the same issues.
I then installed your plugin and took took the following steps.
Mapped the permissions in the CPT UI.
- manage_teams
- edit_teams
- delete_teams
- assign_teams
Then I created capabilities for the above in user role editor, using their “Add capabilities” function.
Then I assigned the capabilities to the role.
and… hey presto, it works!
Thanks for the support and plugins!
Hopefully someone else will find this guide useful.
I realised I can use the same approach that is used to get a normal post / page attachment.
wp_get_attachment_image_src( get_post_thumbnail_id( $EM_Event->ID ))
Thanks, I believe it was the setting which was the culprit