Gadget appears on specific page

We do not want the gadget to appear on every page. We want it to appear only on the 'Blog Members' page. For this we use the power of conditional tags. The first step is to get the permalink of the Blog Members post published in Step 1 above. Look in the Blog Archives gadget as the post was backdated. Click the post link to open the post page. Copy the link from the address bar. It looks like this in my example :
http://www.yoursitename.com/2009/12/specified-gadget.html Then we have to modify the widget code. Login at Blogge.com and click Layouts link on dashboard. Then click Edit Html subtab of Layout tab. Click on Expand Widgets Template checkbox at top of Template Code box. Wait for page to refresh. Scroll down to the code for the Blog Members gadget. It will look like something this :
  • Put in the two lines in bold as shown above. In the first line :
<"http://www.yoursitename.com/2009/12/specified-gadget.html">
  • Put the permalink of your Blog Members post obtained in Step 1. Do not forget to put in the second line :
in exactly same place in the widget code. Save Template. As you can see the Members gadget showing all the present members appears only on this post.

By : Sooji
Category:

2 comments:

  1. Nice post
    Is it working in Wordpress ?

    ReplyDelete
  2. Sorry,this code might not work in Wordpress.

    ReplyDelete

Type your Comment Here...!