Widget is the block of content and content can static or dynamic. When we activate any theme, we can see the Widget under the Appearance menu.
We can use them to display on the sidebars. WordPress is providing the “Recent Post” widget which is showing lates post only from the “Post” type.
We can not display any custom post type from this widget. To display the latest custom post type we need to use a plugin. We have made a simple plugin that can resolve these issues.
“Lamboz Latest Post Widget” is a simple plugin use to display all the latest custom post type’s post in the sidebar using widgets. It’s showing all type of post in the drop-down and you just need to select a Post Type which you wants to display. There is an option to select feature images and dates also.
Step 1: Download Plugin from WordPress.org
Download “Lamboz Latest Post Widget” plugin from wordpress.org using this link: https://wordpress.org/plugins/lamboz-latest-post-widget/
Step 2: Install and Activate “Lamboz Latest Post Widget” Plugin
Upload “Lamboz Latest Post Widget” to the /wp-content/plugins/ directory or search for the plugin in the “Add plugin page”.
Activate the plugin through the Plugins menu item in the WordPress Dashboard. Once the plugin is activated, go to the Appearance > Widgets and you will see the ”Lamboz Latest Post Widget” widget.
Step 3: Drag Widget to a sidebar
After activation of the plugin, you will see the below screen. Drag and drop “Lamboz Latest Post Widget” to any sidebar where you want to display the custom posts.
Step 4: Display Latest Post
After adding the widget into a sidebar, you will see the below screenshot. Using this you can select any post type as shown in the screenshot. This plugin offers All post type, Post limit, Featured Image, and Published date.
You can choose the option which you need.
a) Sidebar Widget
b) Custom Post Type Dropdown
c) Sidebar View 1
d) Sidebar View 2
So using Lamboz Latest Post Widget plugin you can show custom post type in the sidebar with Featured Image, Published date, etc.
If you like this plugin then please review us atwww.wordpress.org