In Blogger, you can use custom Blogger templates and built-in templates. We all face one common issue while using custom or default Blogger template. And, that issue is locked widgets.
While applying a new template, you can see many locked widgets that can't removed from the Layout.
In this post, we are going to see the steps to lock a widget, find ID of a widget, unlock and remove locked widgets. Let’s check it out all in detail.
Steps to Lock Widget
- You can lock a widget by using “locked” attribute. If you want to lock a widget, assign the value of “locked” attribute to true.
- For instance, look at this Attribution widget code (see locked attribute)
<b:widget id=’Attribution1′ locked=’true’ title=” type=’Attribution’ visible=’true’>
Unlock/Remove Locked Widgets in Blogger
I recommend you to take a backup of your template before making any changes. Let’s get started.
Step 1: Go to Template. Select “Edit Html”. In this instance, I am going to remove Attribution widget (Powered by Blogger).
If you know the “Powered by Blogger” widget ID, go ahead to next step. If you don’t know the ID of the widget, then follow the below steps to find it out.
Find Widget ID
- Go to the Layout.
- Click “Edit” option of Attribution widget.
- In the address bar, go to the end of URL and you can see the widget ID.
- Copy or memorize widget ID. Now, you can move to the next step.
Step 2: Select “Attribution1” from “Jump to widget” drop-down list.
Step 3: You should be in the Attribution widget code now. In the widget code, you can see locked=’true’ [see screenshot]
Step 4: Change the true to false
Step 5: Click on “Save template” button.
That’s it. The widget is successfully unlocked.
If you want to remove the unlocked widget, you need to do two more steps.
Step 6: Go to Layout in Blogger.
Step 7: Click “Edit” link of the Attribution widget and now you can see the “Remove” button. Click on Remove button to remove locked widgets.
I hope that the information in this post is useful to you. If you find the information in this post useful, share this post with your friends.