We have learned ho to manipulate WordPress posts using short code and display-posts, if you miss any, following list will help you
- Create category post widget in WordPress
- List category posts in WordPress
- Display post inside another post/Page in WordPress
Widgets are the objects or controls that can be place in side bars, you can customize them using the Customize button under Design [Block Editor] or Appearance – Customize [ Classic Editor/WP-Admin panel].
Our aim is to create a Text Widget for side bar and place some category post inside.
- Create Text Widget using Customize Widget
- add the following Short code in the content section
display-posts category="WordPress" [above code her]
That’s all , you can see live view of widget example at the top right sidebar titled as WordPress Tips