Content Blocks (Custom Post Widget) changelog
By Johan van der Wijk, on WordPress.org since 2010. 10,000+ active installs.
90 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Updated donate link
-
- WordPress 7.2 compatibility tested and confirmed
-
- WordPress 7.1 compatibility tested and confirmed
-
- Fixed PHP 8+ fatal errors when a widget references a deleted content block or a shortcode references a missing template. Missing templates now fall back to the standard shortcode output.
-
- WP 7.0 compatibility tested and confirmed
-
- Security fix: Added allowlist validation for the shortcode markup attribute to prevent XSS attacks (CVE-2026-0894).
-
- WP 6.9 compatibility tested and confirmed
-
- WP 6.8 compatibility tested and confirmed
-
- WP 6.7 compatibility tested and confirmed
-
- Security fix for potential use of script tags in the title.
-
- Security fix for potential use of script tags in the title. Added output sanitization.
-
No notes for this release in the current readme.
-
- WP 6.6 compatibility tested and confirmed
-
- Changed constants for theme folder to use get_stylesheet_directory() and get_template_directory().
-
- Changes to the shortcode function that allows for loading of a custom template file and the function that allows you to use a custom tag to wrap the content block and title. Note that this could affect existing shortcode markup.
-
- WP 6.5 compatibility tested and confirmed
-
- Fix for stripped html tags when using the suppress_content_filters option on the shortcode. As reported in the support forums: https://wordpress.org/support/topic/html-content-now-showing-as-text/
-
- Added input sanitization on the shortcode arguments to prevent potential security issues.
-
- Fix for PHP 8.1 notice passing null to parameter #1 ($datetime) of type string is deprecated
-
- WP 6.3 compatibility tested and confirmed
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
- WP 5.8 compatibility tested and confirmed
-
- Bugfix for notice in shortcode.php
-
- Thanks to Bruce from Ingeni Web Solutions it is now possible to use your own template for embedding the custom post shortcode.
-
- Compatibility testing. Also tested on PHP8 and found no issues.
-
- Spanish translation added and readme.txt file updates.
-
- Minor bugfix and upgrade for the clipboard.js script. Thanks to https://wordpress.org/support/users/vikaspandeyd/ for reporting this!
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
- You can now use a custom html tag to wrap the content block when using a shortcode. See https://wordpress.org/support/topic/add-support-for-spans/ for more information and usage.
-
- Added Gutenberg compatibility for editing content blocks. This is for editing content blocks only. There is no block button yet for inserting a content block in the Gutenberg editor, so you will still need to use the classic editor for that function.
-
- Added the option to show the featured image in when using the shortcode. Add featured_image=yes to the shortcode to show it: [content_block featured_image=yes]. By default the medium image size is used.
-
- Tested for WordPress 4.8 compatibility.
-
- Added html sanitizing to the Content Block post titles. Thanks to @palpatine1976 for bringing this to my attention.
-
- Renamed the plugin to Content Blocks to better reflect the purpose.
-
- Removed the admin notice, added donation link to plugin overview page. Shortcodes are now displayed on the content block edit screen, thanks to Remkus for suggesting this.
-
- Fix for minor compatibility issue when using the Slider Revolution plugin
-
- You can now optionally show the post title when using the shortcode by adding title=yes to the shortcode
-
- Added Hebrew translation as provided by Daniel Cohen Gindi
-
- Changed method for creating the widget in preparation of PHP7 support.
-
- Updated branding and language files.
-
- The shortcode now includes the slug of the content block (which is still optional), see https://wordpress.org/support/topic/shortcodes-using-slug-name-rather-than-id for more information on this.
-
No notes for this release in the current readme.
-
- The post status is now used for displaying the content blocks in the widget areas, only published content blocks are now displayed. Thanks to tmbdesign.co.uk for suggesting this change.
-
- Added the possibility for using the content block slug in the shortcode.
-
- Changed the way the button above the content editor is inserted. For background see: https://wordpress.org/support/topic/soliloquy-conflict-1?replies=2
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
- Added filter to ‘public’ value of the content_block post type to make it possible to use the Visual Composer plugin. See support topic: https://wordpress.org/support/topic/make-post-type-public
-
- Changed require to require_once in custom-post-widget.php to solve a possible issue reported by John Sundberg. Updated SE translation files as provided by Andreas Larsson.
-
No notes for this release in the current readme.
-
- Added ‘Content Block Information’ to overview page, updated styling to reflect new 3.8 interface and rewrote javaScript code for inserting shortcode tag
-
- 2.4.5 javaScript fix for inserting shortcode tag
-
- Changed the way the shortcode button above the editor is called.
-
No notes for this release in the current readme.
-
No notes for this release in the current readme.
-
- Added the option to use your own widget template file as suggested by flynsarmy. See https://wordpress.org/support/topic/patch-custom-widget-frontends?replies=1 for more information.
-
- Added pt_BR translation files as kindly provided by Ronaldo Chevalier.
-
No notes for this release in the current readme.
-
- Removed hardcoded plugins folder path
-
- Removed call to CUSTOM_POST_WIDGET_DIR
-
- Various bugfixes and improvements.
-
- Small fix for issue with the css filepath of the editor icon. Thanks to user zudobug for reporting this issue.
-
- Updated Dutch translation file.
-
- Fix for bug caused by the ‘Advanced Custom Fields’ plugin. Thanks to creativexperience for troubleshooting this issue. Cleanup of lightbox popup, changed all instances of query_posts to get_post and get_posts. Support for featured image in custom post widget area. Changed shortcode button to reflect the new admin style of WordPress version 3.5.
-
- Fix for error when using shortcode with the WPML plugin
-
- Added featured image support and now using query_posts instead of get_post
-
- Fixed debug notices when dragging a new content block to the widget areas and removed the add content block shortcode from the content block editing screen.
-
- Added the option to disable apply_filters on the content to prevent issues with misbehaving plugins. I would have rather not added this, but it appears many plugin developers do not know how to properly sanitize input.
-
- Corrected a minor bug regarding translation strings.
-
- Minor bugfix and added the French translation which was created by Alexandre Simard.
-
- Now includes Polish language files as created by Kuba Skublicki.
-
- The content blocks can now be translated using the WPML plugin, thanks to Jonathan Liuti. Thanks to Vitaliy Kaplya (https://vitaliikaplia.com/) a Russian translation has been added to the plugin.
-
- Minor bugfix for edit link in widget.
-
- This release is to fix an issue with the WordPress plugin repository.
-
- Added edit content block link to the widget editor and changed the ‘view content block’ message to include a ‘manage widgets’ link. The ‘Draft’ and ‘Preview’ buttons are now hidden via CSS, hopefully improving the editing experience. Thanks to Julian Gardner-Hobbs for requesting this functionality.
-
- The widget now emulates the $post loop. This means you can now make use of WordPress functionality such as inserting a [gallery]. Thanks to Jari Pennanen for providing the code.
-
No notes for this release in the current readme.
-
- Added a button above to content editor to make it easier to add the shortcode (no need for looking up the id).
-
- This release fixes all the debug error messages Yoast discovered when reviewing this plugin. As requested by Tony Allsopp the option of using custom tags to wrap content blocks has been added.
-
- The Custom Post Widget plugin is now using the more efficient get_post instead of query_posts to display the content block on the page. A code example for this change has been graciously provided by Andre for those who want to customize the plugin further.
-
- Thanks to Caspar Huebinger the plugin now has its own icon and as requested by Stephen James the author field has been added to the Content Block edit screen.
-
- The plugin has been translated into Dutch and German. Hat tip: Caspar Hübinger – glueckpress.com
-
- The widget title now uses $before_title and $after_title to generate the appropriate tags to display it on the page. Hat tip: Etienne Proust.
-
- Added a checkbox in the widget to make it possible to show the custom post title in the widget area
-
- Added showposts=-1 to the post query to display more than 10 custom posts in the widget configuration select box.
-
- Fixed screenshots for plugin directory
-
- First release