How to Use Tags in Sitefinity
Tagging content in your content management systems is a great way to keep things organized but it also allows you to filter content like blog posts, news items, and other types of content on a page. In this video, we will show you how to utilize tags in this way in Sitefinity CMS.
There are all types of tags in the website development world. There are HTML tags, meta tags, title tags, style tags, tags for analytics, ALT tags, I mean you get the picture, there are a lot of different (types of) “tags”.
So, the type of “tags” that we are going to be talking about in this Sitefinity Minute are the types of tags you will find in a content management system, like Sitefinity, and these are used to label content in your CMS so that you can categorize, organize, and also filter content on pages.
Now, let’s see this in action so you get a better understanding of what I am talking about.
This post was written to highlight all the new features in Sitefinity DX 14.1. When you scroll down in the blog post settings you will see this section called categories and tags. We are going to talk about the role of categories in a different video but to add a tag you click on the plus sign, and then you can type your keyword in, or you can search for it in your list of tags. And for this, we are going to choose, Sitefinity.
Now, if you want to add a new tag, you can type it in and hit enter or you can manage tags by going to the content drop-down, and then under "Classification of Content", you can click on "Tags".
Here you can create a new tag, find the tags you already created, and see how many content types a tag has been applied to.
Now let’s go to our Sitefinity CMS page to see how to filter content on a page using tags.
On this page, we only want blog posts that are about Sitefinity to show here. So once posts are tagged with Sitefinity, as we did in a previous step, you can go into the blog post widget settings and filter by a tag. In this example, you can see here only blog posts that have the tag titled, “Sitefinity” will be displayed in this widget, and therefore will be the only posts that users will see when visiting this page.
And that’s a quick run down of how tags work in Sitefinity.
And that’s the Sitefinity Minute.