GPI is building a 50 Years Anniversary campaign content to be shared with NROs. For the most part there is no development required. There is one component that needs to be embedded, since we don't have a Guestbook functionality. It's the Story Map Guestbook.
For NROs to use that, they need to add a HTML block and the add an iframe code and some javascript to make the sharing work. You can see an example at Ummah4Earth. We need to integrate that to our codebase, so that it's easier for NROs to embed that without the need to write custom code.
Tasks
- Create a simple block that just embeds the maps url and enqueues the script needed for the sharing functionality.
- Enable the block on Pages and Campaigns.
Specs
- Map url: https://maps.greenpeace.org/maps/gpint/50th_guestbook/
- JS sharing code: https://gist.github.com/Fixxy/39410b5199acd387122c38a8a9ea247e
- Block name: "50 Years Guestbook"
- Icon: https://developer.wordpress.org/resource/dashicons/#admin-site-alt2