Description
WDOnline Content Sections adds a dedicated content type for reusable sections.
Features include:
- Reusable Content Sections.
- Shortcode:
[wdonline_section id="123"]. - Shortcode with featured image:
[wdonline_section id="123" image="yes"]. - Featured-image-only shortcode:
[wdonline_section_image id="123"]. - Optional start and end date/time scheduling.
- Gutenberg block with a selector and preview.
- Classic Editor insertion button.
- WooCommerce product description and Short description editor support.
- Optional Avada Backend Builder support when Avada Builder is active.
- Shortcodes inside Content Sections.
- Shortcode column with a copy button in the Content Sections list.
- Shortcode box with one-click copy on the Content Section edit screen.
- Administration under the shared WD Online menu.
- Optional read-only compatibility with WD Online Support Diagnostics.
The plugin is standalone and does not require a separate WD Online core plugin.
WD Online Support Diagnostics integration is optional and read-only. WDOnline Content Sections does not automatically send diagnostic data, telemetry, or site information to WD Online or any external service.
Blocks
This plugin provides 1 block.
- Section
Installation
- Upload the plugin ZIP in Plugins > Add New > Upload Plugin.
- Activate WDOnline Content Sections.
- Open WD Online > WDOnline Content Sections.
- Create a section and insert it with a shortcode, the editor button, or the Gutenberg block.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WDOnline Content Sections” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WDOnline Content Sections” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.13
- Made Content Sections discoverable in Avada Builder’s Post Types settings.
- Added support for editing Content Sections with Avada Backend Builder when Avada is active.
- Kept individual Content Sections non-queryable and without public URLs.
- Kept Avada entirely optional; normal editing and rendering are unchanged when it is unavailable.
1.1.12
- Removed the Author URI from the plugin header because the URL was rejected by the WordPress.org review crawler.
- Sanitized final HTML returned by both shortcode callbacks and the dynamic Gutenberg block callback with
wp_kses_post(). - Sanitized the shared rendered-section output, including featured-image-only output, before returning it to frontend callbacks.
- Removed the previous output-escaping exception because rendered frontend HTML is now explicitly sanitized.
1.1.11
- Fixed the actual custom post type submenu label used by WordPress under the shared WD Online menu, so it now displays
WDOnline Content Sections. - Kept the Content Sections screen terminology unchanged where the shorter content-type label is more natural.
1.1.10
- Updated the WD Online admin submenu label to use the full plugin name,
WDOnline Content Sections. - Updated the WD Online landing-page shortcut to use the full plugin name.
1.1.9
- Renamed the plugin and directory baseline to
WDOnline Content Sections/wdonline-content-sectionsfor a more distinctive WordPress.org identity. - Updated the text domain and diagnostics provider ID to
wdonline-content-sections. - Moved remaining admin presentation rules from inline
styleattributes into an enqueued admin stylesheet. - Added the admin stylesheet to read-only diagnostics asset checks.
- Kept the unique
wdonline_cs_/WDONLINE_CS_global identifier convention and the currentwdonline_sd_register_provider()diagnostics interface. - No legacy compatibility layer was retained because there are no official installations requiring it.
1.1.8
- Updated all plugin-owned global PHP identifiers, script handles, nonces, metadata keys, shortcodes, REST namespace, block namespace, and DOM identifiers to the unique
wdonline_cs_/WDONLINE_CS_convention. - Updated optional WD Online Support Diagnostics integration to the current
wdonline_sd_register_provider()interface and deferred provider registration untilinitto avoid early translation loading. - Removed legacy identifier and compatibility paths because there are no official installations requiring backward compatibility.
- Kept diagnostics optional, read-only, privacy-safe, and fully independent from normal plugin operation.
- Diagnostic support codes continue to use the reserved
WDO-CS-xxxxformat.
1.1.7
- Added optional, read-only compatibility with WD Online Support Diagnostics.
- Added diagnostics for plugin version, Content Section post type registration, shortcodes, Gutenberg block registration, REST registration hook, and required plugin assets.
- Diagnostics does not modify plugin state and WDOnline Content Sections remains fully functional without the diagnostics plugin.
- Updated the WD Online support/donation link.
1.1.6
- Fixed the Content Sections list so the complete shortcode is visible instead of being clipped to
[wd_. - Kept one-click shortcode copying in the list table.
1.1.5
- Fixed Plugin Check error by allowing filters on the legacy post type detection query.
- Added an explicit PHPCS exception for the intentional WordPress core
the_contenthook. - Updated the WordPress
Tested up tovalue to 7.1.
1.1.4
- Added a reliable Add Content Section button fallback for the WooCommerce Short description editor.
- Added a Shortcode box to the Content Section edit screen with one-click copy.
- Improved Plugin Check compatibility for date/time sanitization and the intentional WordPress core content filter.
1.1.3
- Added the Add Content Section button to the WooCommerce Short description editor.
- Removed the discouraged manual
load_plugin_textdomain()call. - Improved sanitization of start and end date/time values.
- Kept WordPress core content filtering while documenting the intentional core hook usage for Plugin Check.
- Added compatibility handling for common legacy Content Section post type and block names.
1.1.2
- Moved Content Sections under the shared WD Online menu in the WordPress admin area.
1.1.1
- Maintenance and compatibility improvements.






