Sometimes you need to find the code-name for a gadget that you have added to your blog, so you can edit your template and control how and where that gadget is displayed.
This may be part of giving your blog a home-page, controlling how your blog looks on mobile devices, or various other tweaks.
This may be part of giving your blog a home-page, controlling how your blog looks on mobile devices, or various other tweaks.
How to find the id-code for any gadget
"gadget", "widget", and even "page-element" all mean the same thing. I generally use "gadget", because the Page Elements tab currently says "Add a Gadget". But they're absolutely the same.
Add the gadget to your blog in the usual way.
Edit it again, but don't make any changes to it.
Maximise the window, so you can see the very end of the address bar in the window - at the top of the screen.
Notice the word at the very end of the address, ending in a number. This is the Gadget-id.
In this example, it's Text1, Other possible values are HTML1, Attribution1, Followers1, etc.
0 comments:
Post a Comment