Descripción
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 support box below the Content Sections list with a PayPal or card donation link.
- Optional read-only compatibility with WD Online Support Diagnostics.
The plugin is standalone and does not require a separate WD Online core plugin.
Learn more about WDOnline Content Sections at https://wdonline.dk/wd-content-sections/.
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.
Bloques
Este plugin proporciona 1 bloque.
- Section
Instalación
- 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.
Reseñas
No hay valoraciones para este plugin.
Colaboradores y desarrolladores
«WDOnline Content Sections» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «WDOnline Content Sections» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.1.22
- Restored the Author URI now that https://wdonline.dk is publicly accessible to WordPress.org.
- Kept the public WDOnline Content Sections product-page link in the plugin header and readme.
- Refreshed the Loco Translate POT template to contain only strings currently used by the plugin.
- No existing plugin functionality or saved Content Sections were changed.
1.1.21
- Added the official plugin product page link.
1.1.20
- Fixed Add Content Section button detection for current Avada Text Block modal structures.
1.1.19
- Added the Add Content Section button to dynamically opened Avada Text Block editors.
- Ensured inserted shortcodes are synchronized with the active Avada editor field.
1.1.18
- Fixed the support box position by moving it after the Content Sections list once the administration page has fully loaded.
1.1.17
- Made the support box smaller and more discreet.
- Aligned the support box correctly below the Content Sections list.
1.1.16
- Removed the separate Support WD Online submenu.
- Moved the donation button to a support box below the Content Sections list.
- Updated the Loco Translate template with the current administration strings.
1.1.15
- Added the missing
languages/wdonline-content-sections.pottranslation template for Loco Translate.
1.1.14
- Added a Support WD Online submenu directly below WDOnline Content Sections.
- Added an optional donation page with a PayPal or card support button.
- Kept all new administration strings translation-ready for Loco Translate and WordPress.org language packs.
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.






