silverstripe-blog/docs/en/userguide/using-widgets.md

49 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2019-12-09 00:25:09 +01:00
---
title: Using widgets
---
# Using Widgets
2015-05-21 06:54:26 +02:00
**This guide assumes you have the optional [Widgets](https://addons.silverstripe.org/add-ons/silverstripe/widgets/) module installed**
2015-05-21 06:54:26 +02:00
![](_images/widgets.png)
2021-05-13 02:46:26 +02:00
To add a widget - simply click the *plus* icon and the widget will appear in the "Widgets currently used" column.
2015-05-21 06:54:26 +02:00
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
2015-05-21 06:54:26 +02:00
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
2015-05-21 06:54:26 +02:00
The blog categories widget lets your readers easily find the content they're interested in.
![](_images/widgets-categories.png)
### Recent Posts
2015-05-21 06:54:26 +02:00
The recent posts widget is great for providing quick links to your latest content.
![](_images/widgets-recent-posts.png)
### Blog Tags
2015-05-21 06:54:26 +02:00
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)