We updated WordPress, added the xml sitemap and a new NRO(!). We made more advancements on the upcoming Engaging Networks integration and improvements to the existing GPI Media Library feature. We also made improvements to how thumbnail images are displayed on the frontend.

New features / improvements…

  • PLANET-2462 – Upgrade to WordPress 4.9.7
  • PLANET-2436 – Sitemap.xml: re-add
  • PLANET-2456 – Country selector: add MENA
    • Greenpeace has added a new NRO to the family: Greenpeace Middle East and North Africa!
  • PLANET-2149 – Engaging networks: Register a new shortcode for forms
    • Ongoing Engaging Networks integration: This new shortcode inside the Engaging Network plugin will replicate Engaging Network forms on Planet 4.
  • PLANET-2150 – Engaging networks: Make the new block
    • Ongoing Engaging Networks integration: Relates to PLANET-2149 above. This task determines which necessary fields will appear in the new EN block, once it’s finished.
  • PLANET-2167 – GP Media Library: Add option in blocks
    • Previously, the option to select an image from the GP Media Library was only available when adding an image directly to a Post. Now, a Webbie will be able to add images from the GP Media Library to blocks as well — basically, wherever there is the “select an image” option (i.e. Posts, Pages, and Blocks). Want to see it in action? Check out this clip:
  • PLANET-2413 – GP Media Library: Add option in blocks – part 2
    • On single image selection upload that image to WP Media Library and switch the tab control to “Media Library” tab. (In same way as we upload the image in WP Media Library and control shift to “Media Library” tab)
  • PLANET-2318 – Separation of master-theme and plugin-blocks: Move css to the plugin
    • The purpose of this is so that the plugin can be used autonomously from the master theme. As a first step, any css that defines the blocks, that exists inside the theme, has been moved to the blocks.

Bug fixes…

  • PLANET-2356 – Articles block: Featured image thumbnail autoscaling
    • Featured images of Posts were not auto-resizing to the default thumbnail size. There is now a fixed size for the thumbnails regardless of the image size uploaded by the Webbie.
  • PLANET-2416 – Four Column block: Featured image thumbnail autoscaling
    • Featured images of Posts were not auto-resizing to the default thumbnail size. There is now a fixed size for the thumbnails regardless of the image size uploaded. More on the four-column block
  • PLANET-2353 – Carousel block: Images resizing on mobile
    • Some folks were reporting that photos in the carousel block were not centred on mobile devices. This has been fixed.
  • PLANET-2390 – Carousel Header block: Error when only one image used
    • A js exception was being thrown when the Carousel Header contained only one image. This should now render properly and not throw the js error.
  • PLANET-2418 – Tasks block: Buttons misaligned on Mobile
    • The Take Action buttons were not consistent in placement on mobile devices. It will now always appear below the Task Description, regardless of the amount of text used in the Task Description.
  • PLANET-2434 – Pages: Default Template image alignment
    • When adding an image to a Page using the Default Template, and wanting that image to align right or left, the paragraph text around the image was not wrapping.