Making A Gadget Visible Solely To The Spider Web Log Administrator

And the postal service championship says it all. There are gadgets that sometimes nosotros desire to live visible solely to us too non to our spider web log readers, mayhap a Survey already ended that nosotros desire to keep, a counter, or whatsoever gadget that acre nosotros customize, nosotros don't desire anyone else to run across until the lastly trial is ready.
 There are gadgets that sometimes nosotros desire to live visible solely to us too non to our spider web log rea Making a gadget visible solely to the spider web log administrator
 The physical care for is simple, nosotros simply convey to add together ii lines to our gadget that nosotros desire to hide.

First matter to produce is to become to Template > Edit HTML too and thence search for the gadget's code nosotros desire to hide. It volition live easier using the CTRL + F keys too locating the refer of the gadget/widget.

For example, inwards a HTML/Javascript gadget, nosotros volition run across a code similar this:
<b:widget id='HTML1' locked='false' title='' type='HTML'>
<b:includable id='main'>
<span class='item-control blog-admin'>
<!-- solely display championship 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'/>
</span>
</b:includable>
</b:widget>
All y'all convey to produce is add together the parts inwards cherry-red too ready. If y'all unopen the session become to your spider web log you'll non live able to sentiment the gadget that y'all convey hidden, but every bit before long every bit y'all sign inwards y'all volition run across that it is visible to you.
Not all gadgets convey the same construction similar inwards my example, but it volition live easier to conduct you, simply house the commencement code inwards cherry-red just after <b:includable id='main'>

And the 2nd cherry-red code just before </b:includable>
Note: to hold off within the widget's code, click on the sideways arrow side yesteryear side to the widget's id.

And amongst that the gadget volition live hidden for readers except you.

Comments