Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Blogger Widget Appears on Every Page

Featured Replies

Hi,

 

I recently started my own Blogger website in order to promote my Instagram account. I added a Lightwidget to my website homepage to display my Instagram posts but the widget appears on all pages of my website. I tried to add a condition to my code below but it causes the widget to stop working entirely. Any ideas?

 

My Widget code is as follows:

 <b:widget id='HTML1' locked='false' title='Images' type='HTML' visible='true'>
              <b:includable id='main'>
  <!-- only display title if it's non-empty -->
  <b:if cond='data:title != ""'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='widget-content'>
    <data:content/>
  </div>


  <b:include name='quickedit'/>
</b:includable>
            </b:widget>
            <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog' visible='true'>

Thanks,

Kevin

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.