WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
127 stars 70 forks source link

Volunteer blocks are missing in the block editor #1282

Open ajithrn opened 5 months ago

ajithrn commented 5 months ago

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

malgrauk commented 5 months ago

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.

o-samaras commented 1 month ago

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.