plugin-icon

Content Blocks (Custom Post Widget)

This plugin enables you to edit and display Content Blocks in a sidebar widget or using a shortcode.
Évaluations
4.9
Mis à jour récemment
April 29, 2024
Version
3.3.2
Installations actives
20K
Content Blocks (Custom Post Widget)

The Content Blocks allows you to display the contents of a specific custom post in a widget on in the content area using a shortcode.

Even though you could use the text widget that comes with the default WordPress install, this plugin has some major benefits:

  • The Content Blocks plugin enables users to use the WYSIWYG editor for editing the content and adding images.
  • If you are using the standard WordPress text widgets to display content on various areas of your template, this content can only be edited by users with administrator access. If you would like non-administrator accounts to modify the widget content, you can use this plugin to provide them access to the custom posts that provide the content for the widget areas.
  • You can even use the featured image functionality to display them in a widget.
  • The Content Blocks plugin is compatible with the WPML Multi-Language plugin and automatically shows the correct language in the widget area.
  • The Content Blocks can be included in posts and pages using the built-in shortcode functionality.

This plugin creates a ‘content_block’ custom post type. You can choose to either display the title on the page or use it to describe the contents and widget position of the content block. Note that these content blocks can only be displayed in the context of the page. I have added ‘public’ => false to the custom post type which means that it is not accessible outside the page context.

To add content to a widget, drag it to the required position in the sidebar and select the title of the custom post in the widget configuration.

Includes the following translations:

More translations are very welcome!

Gratuitsur le plan Creator
En procédant à l’installation, vous acceptez les Conditions d’utilisation de WordPress.com ainsi que les Conditions de l’extension tierce.
Installations actives
20K
Testé jusqu’à version
6.5.5
Cette extension est disponible en téléchargement pour être utilisée sur votre installation WordPress auto-hébergée.