April 14, 2025: And? Or? Why not both!

Happy mid-April! We have a bunch of fun new features in this release, including a long-awaited content query improvement, and decimal support for donations!

New AND/OR queries for the Content Loop and Carousel blocks (#2092)

This release includes a long-asked about query enhancement to the Content blocks: the ability to query posts with AND statements as well as the default OR statements. This gives you the ability to get only posts that have the Sports AND Featured categories, not just one or the other.

You can find this option above the categories field for both the Content Loop and Content carousel blocks. By default, it will use “Is one of” (or “or”); to filter by all categories, change the drop-down to “Is all of”.

Allow decimals in the Donate block (#2074)

The Donate block will now handle decimal values, if a period (.) is chosen as the “Decimal separator” in WP Admin > WooCommerce > Settings, and a comma is chosen for the “Thousand Separator” (this should be the default for most currencies used on Newspack sites).

These settings are required to work around a limitation with how HTML treats decimal separators.

Gracefully handle deleted category and tags in the Content Loop block (#2076)

In the past when you assigned a category or tag to a Content Loop block and then deleted the taxonomy, it was almost impossible to troubleshoot: the block would return no posts, but the category and tag fields would be blank. The only way to figure out why the block wasn’t showing posts was to check the code view in the editor, which isn’t very obvious!

As of this release, the category and tag fields will now display a message if they’re set to a deleted category or tag. This will make this situation much easier to troubleshoot!

Sync data to Constant Contact (#3832)

Newspack’s Audience Management now also allows reader data synchronization with Constant Contact, an email service provider that is also supported by Newspack Newsletters.

Other changes

  • [FEAT] Custom capability check for media visibility (#3823)
  • [FEAT] Bundled a translation template file (POT) with Newspack Newsletters (#1789) 
  • [FIX] Network: Sync changes on Membership end dates (#232)
  • [FIX] Network: fix the “Copy to clipboard” button in the Event Log view (#233)
  • [FIX] Prevent content gate from displaying on discounted products, and make sure the correct message is shown instead (#3850)
  • [FIX] Remove support for Jetpack’s deprecated Geo-Location feature from the Newspack Theme (#2468) 
  • [FIX] Avoid PHP notice by setting image fetchpriority to ‘auto’ on lazy loaded images (#2472)
  • [FIX] Support Guest Contributors feature when CoAuthors-Plus plugin is inactive (#3862)

Gift this article