silverstripe-blog/docs/en/userguide/using-widgets.md
2019-12-09 12:26:42 +13:00

49 lines
1.3 KiB
Markdown

---
title: Using widgets
---
# Using Widgets
**This guide assumes you have the optional [Widgets](https://addons.silverstripe.org/add-ons/silverstripe/widgets/) module installed**
![](_images/widgets.png)
To add a widget - simply click the *plus* icon and the widget will be appear in the "Widgets currently used" column.
After you've finished adding widgets, publish your blog, and your freshly minted widgets will appear in your blog's sidebar.
## Available blog widgets
### Archive
The archive widget helps you keep historical content relevant, by generating a list of posts, ordered by month or year.
![](_images/widgets-archive.png)
### Blog Categories
The blog categories widget lets your readers easily find the content they're interested in.
![](_images/widgets-categories.png)
### Recent Posts
The recent posts widget is great for providing quick links to your latest content.
![](_images/widgets-recent-posts.png)
### Blog Tags
Similar to the blog categories widget, blog tags help your readers find relevant content, at more fine grained level.
![](_images/widgets-tags.png)
## Optional extra widgets
Additional widgets can be installed alongside your blog.
* [Content Widget - Display HTML content in a widget](https://github.com/silverstripe-labs/silverstripe-content-widget)