How To Implement Category In Blogger
The category is very useful to organise your blog post. When someone come to the site they will easily understand what your blog post all about. When we use blogger as hosting provider for your article you may have some question like below
I will share how did I do category customization for this blog with example this two post
Please follow below step to configure breadcrumb with the only category
- Do we have category support in logger?
- How to implement category in blogger?
- What are labels in blogger?
Do we have category support in logger?
No, we don’t have support for category inside bloggerHow to implement category in blogger?
No, we cannot implement category directly inside blogger but we can do some customization such that labels will look like blogger.What are labels in blogger?
Label are an item which helps us organise your post inside the blogger. We need to set the relevant label to post to help the reader to find the article they are looking for.Implementing category inside blogger
As I said earlier we cannot implement category directly inside blogger. All we need to customise the label arrangement inside blogger so that they appear as a label as well as category.I will share how did I do category customization for this blog with example this two post
Category Sidebar
To implement category sidebar please follow steps below- Go to Dashboard > Layout > Add a Gadget
- Select Labels from list available gadget
- In Configure Label dialog
Title: Add Category as title
Show: Select label that you want to show as category (in my case it is ‘Programming’)
Sorting: Select whatever sorting order you want to show.
Display: Select List as display type
Note: Don’t forget to check “Show number of posts per label” - Click Save and Now category widget look like this in your blog
Label Sidebar
To implement category sidebar please follow steps below- Please follow step 1 and 2 in Category Sidebar setup
- Configure label widget in the reverse order what you have done for Category configuration
Title: Add Label as title
Show: Select label that you want to show as label (in my case it is ‘MVC’ and ‘JavaScript’)
Sorting: Select whatever sorting order you want to show.
Display: Select whatever display type you want
Note: Don’t check “Show number of posts per label” - Click Save and Now category widget look like this in your blog
Breadcrumb
Finally, we need to configure your breadcrumb such that it only show the category not all labels of the post. You can check below post to add breadcrumb for post inside bloggerPlease follow below step to configure breadcrumb with the only category
- Please go to Dashboard > Template > Edit Template
- Please search for below code
- Replace it with below code
- Click save. Now go to Dashboard > Layout. Where you can see label widget get added above post widget like below
- Now click on edit and configure this widget like we did for category but don’t check “Show number of posts per label”
- Click save. Now go to Dashboard > Template > Edit Template and replace the breadcrumb code which you have used from the blogger post with below code
- Now save template and visit post, now you can see the breadcrumb with only category (you have configured in step 5) like below
How To Implement Category In Blogger
Reviewed by Unknown
on
02 April, 2016
Rating:
No comments: