wordcamp.org
wordcamp.org copied to clipboard
Volunteer blocks are missing in the block editor
Describe the bug
Currently, there are no options available to display the Volunteer's custom post type info on the front end, The blocks are missing in the block editor, Also, the CPT is not listed in the query loop block.
Theme used: Twenty Twenty-Four
Expected behavior
There should also be something similar to the speaker blocks to display the volunteers.
Screenshots
- missing volunteer blocks
- CPT not available in the query loop block
- current speaker blocks
Just to mention, a workaround for this is to use the Admin Flags option and 'tag' attendees with a admin flag such as 'volunteer' - they can then have a separate page using the shortcode [camptix_attendees has_admin_flag="volunteer"]
Info here - https://make.wordpress.org/community/handbook/wordcamp-organizer/first-steps/web-presence/using-camptix-event-ticketing-plugin/#admin-flags
This doesn't require the use of the Volunteers CPT this way, as you mention above this currently doesn't populate or show the volunteers on the front end.
From a quick look into this, the volunteer posts are not shown in the query loop block, because the volunteers post type is marked as non public. I couldn't find any reference as to why this was done that way though.