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
  • 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 blogger

How 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
  1. Go to Dashboard > Layout > Add a Gadget 
  2. Select Labels from list available gadget
  3. 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”
  4. Click Save and Now category widget look like this in your blog

Label Sidebar

To implement category sidebar please follow steps below
  1. Please follow step 1 and 2 in Category Sidebar setup
  2. 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”
  3. 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 blogger
Please follow below step to configure breadcrumb with the only category

  1. Please go to Dashboard > Template > Edit Template
  2. Please search for below code
  3. Replace it with below code
  4. Click save. Now go to Dashboard > Layout. Where you can see label widget get added above post widget like below
  5. Now click on edit  and configure this widget like we did for category but don’t check “Show number of posts per label”
  6. 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
  7. Now save template and visit post, now you can see the breadcrumb with only category (you have configured in step 5) like below
That is all. Now we have category widget, labels widget and also a category in breadcrumb so now it looks like we have customized our own category in blogger. If you are facing any difficulties in setting up this, please let me know in a comment.

How To Implement Category In Blogger How To Implement Category In Blogger Reviewed by Unknown on 02 April, 2016 Rating: 5

No comments:

Powered by Blogger.