WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Custom Post Widget

This plugin enables you to edit and display Content Blocks in a sidebar widget or using a shortcode.

The Custom Post Widget allows you to display the contents of a specific custom post in a widget.

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

  • The Custom Post Widget 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 Custom Post Widget 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 always welcome, please contact me to find out how you can help.

You can find more information about this plugin and a screencast video which shows the plugin in action on the plugin homepage.

Requires: 2.9.2 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-9
Downloads: 114,568

Ratings

4 stars
4.9 out of 5 stars

Support

3 of 9 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

3 people say it works.
0 people say it's broken.

100,1,1 100,4,4 100,1,1
100,3,3 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,4,4 100,2,2 100,2,2
100,2,2 100,1,1
100,2,2 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,9,9 50,2,1 100,1,1 100,5,5 100,1,1
100,2,2
100,1,1 100,1,1 100,7,7 100,1,1
100,3,3 100,1,1
100,1,1
100,1,1 100,7,7
100,3,3
25,4,1 100,1,1 100,1,1 100,3,3
100,9,9
100,1,1 100,1,1
100,6,6
100,3,3 100,2,2
100,1,1 100,1,1
100,1,1 100,3,3 100,1,1 100,4,4
100,3,3 100,1,1
100,3,3 100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
100,1,1
100,3,3 100,3,3