Skip to main content

Link to HTML widget title - How?

This article lets you know how to add link to the widget title of HTML/Javascript gadget. The article is split into two,

  1. Creating a HTML gadget.
  2. Adding link to HTML gadget.
How to create a HTML gadget?
  1. Go to Dashboard > Layouts
  2. Click on + Add a gadget
  3. In the appearing window, scroll down and add HTML/JavaScript gadget.
  4. Title it as newgadget, for easy identification.

How to add link to this title?
  1. Go to Dashboard > Template > Edit HTML.
  2. Click on the template code box, press Ctrl + F and find newgadget
  3. The code around it will look like,
    <b:widget id='HTML6' locked='false' title='newgadget' type='HTML'>
    <b:includable id='main'>
    <!-- only display title if it's non-empty -->
    <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
    </b:if>
    <div class='widget-content'>
    <data:content/>
    </div>
    <b:include name='quickedit'/>
    </b:includable>
    </b:widget>
  4. Find <h2 class='title'><data:title/></h2>
  5. Here, wrap <data:title/> with anchor tags like this.
    <h2 class="title"><a href="link"><data:title/></a></h2>
  6. Save Template.

Comments

Feeds for you

Blogger description confusions

Blogger, like the language confusions have one more confusion with respect to Blog description. We have two descriptions setup in Blogger.

Blog display description.Blog search description.Display Description is the description that appears when you visit your blog in the header under your blog title. For example, you could see the description of my blog,

Who Is Lookup

Again as a part of Custom Domain Troubleshooting, we do Who Is lookup which gives us a handful of information.


What is Who Is Lookup?

Who Is lookup gives exactly what the name means. "Who Is". In addition to Who Is, this will give few useful information like,
Registrar InformationRegistered date and expiry information and so on.

How to do Who Is Lookup?