Sign in to Blogger > Theme > Edit HTML.
Then select skip to widget dropdown, as you can see in the following image.
For example, the widget/gadget that you want to hide is like in the following code:
<b:widget id='HTML2' locked ='false' title ='Ads'
type ='HTML'>...</b:widget >
And the widget/gadget wants to be hidden on the Post Preview page, then just add a custom conditional tag like this:
<b:widget cond='!Data:View.isPreview' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
If you want to apply it to another page, see the following.
1. Just want to display the widget on the front page (homepage).
<b:widget cond='data:view.isHomePage' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
2. Want to hide the widget on the front page (homepage).
<b:widget cond='!data:view.isHomePage' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
3. Just want to display the widget in the page item (Post page and static page).
<b:widget cond='data:view.isSingleItem' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
4. Want to hide the widget in the page items (Post page and static page).
<b:widget cond='!data:view.isSingleItem' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
5. Just want to display the widget on the Post page.
<b:widget cond='data:view.isPost' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
6. Want to hide widget on the Post page.
<b:widget cond='!data:view.isPost' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
7. Just want to display the widget on the Static pages.
<b:widget cond='data:view.isPage' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
8. Want to hide the widget on Static pages.
<b:widget cond='!data:view.isPage' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
9. Just want to hide widget in all Search pages.
<b:widget cond='!data:view.isSearch' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
10. Want to hide the widget only in the "Label" Search Page.
<b:widget cond='!data:view.isLabelSearch' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
11. Want to hide widgets only in the Items and Error page.
<b:widget cond='!data:view.isLabelSearch' id='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
12. Want to hide widgets in the Blogger Menu layout.
<b:widget cond='!data:view.isLayoutMode' id ='HTML2' locked='false'
title='Ads' type='HTML'>...</b:widget>
13. Want to show widgets on the specific post page (Specific URL).
<b:widget cond="data:view.url == "PUT_YOUR_URL"" id="HTML2" locked="false"
title="Ads" type="HTML">...</b:widget>
Example:
<b:widget cond="data:view.url == "https://www.dailydigest.club/2019/07/how-to-
hidedisplay-widgets-on-specific.html"" id="HTML2" locked="false"
title="Ads" type="HTML">...</b:widget>
If 2 URLs:
<b:widget cond='data:view.url == "URL_1" or data:view.url == "URL_2"'
id="HTML2" locked="false" title="Ads" type="HTML">...</b:widget>
14. Want to hide widgets on the specific post page (Specific URL).
<b:widget cond="data:view.url != "PUT_YOUR_URL"" id="HTML2" locked="false"
title="Ads" type="HTML">...</b:widget>
15. Want to display widgets only on specific Label name pages.
<b:widget cond='!data:view.Search.Label == "LABEL_NAME"' id="HTML2"
locked="false" title="Ads" type="HTML">...</b:widget>
If 2 Labels
<b:widget cond='data:view.search.label == "LABEL_NAME_1"
or data:view.search.label == "LABEL_NAME_2"' id="HTML2" locked="false"
title="Ads" type="HTML">...</b:widget>
16. Want to hide widgets only on the specific Label name page.
<b:widget cond='data:view.Search.Label != "LABEL_NAME"' id="HTML2"
locked="false" title="Ads" type="HTML">...</b:widget>
If 3 Labels
<b:widget cond='data:view.search.label != "LABEL_NAME_1"
and data:view.search.label != "LABEL_NAME_2"
and data:view.search.label != "LABEL_NAME_3"' id="HTML2" locked="false"
title="Ads" type="HTML">...</b:widget>

Posted by 

