A complete guide to Blogger Tags



BLOGGER TAGS THAT WORK ANYWHERE IN BLOGGER
1.<$BLOGURL$>
Replaced with: The URL in the blog’s Settings.Usage: A good value for a “home” link, or the “back to current” link in an archive template, e.g.
<a target="_blank" rel="nofollow" href=”<$BlogURL$>”>home</a>
Can also be used as a base href, to make relative links work in both the main page and in archive pages in a separate directory.
2.<$BLOGTITLE$>
Replaced with: The Title in the blog’s Settings.Usage: The title in the page, e.g.
<h1><$BlogTitle$></h1>
and also in the title tag in the <head> section (which is displayed at the top of the browser window), e.g.
<title><$BlogTitle$></title>
3.<$BLOGDESCRIPTION$>
Replaced with: The Description in the blog’s Settings.Usage: A subhead in the header, or at the top of a sidebar, e.g.
<h2><$BlogDescription$></h2>
Note that some people will have a blank Description, in which case the published blog will have “<$BlogDescription$>-Value” in place of the description.
4.<$BLOGARCHIVEFILENAME$>
Replaced with: The Archive Filename in the blog’s Settings.Usage: Either a link to the archive index page (for blogs with a separate index page), e.g.
<a target="_blank" rel="nofollow" href=”<$BlogArchiveFileName$>”>archives</a>
or the script tag that loads the archive links (for blogs that include links with Javascript), e.g.
<script type=”text/javascript” src=”<$BlogArchiveFileName$>”></script>
Note that Blogger doesn’t know about the path to the archives (except when it is ftping), so if the archives aren’t in the same directory as the main page, you need a path in front of <$BlogArchiveFileName$>, either http://www.example.com/archives/ or /archives/ starting with a slash and going from the server’s root directory.
TAGS THAT DON’T WORK ANYWHERE:
Although the “Template Help” at the bottom of the main template editing page has listed it for more than a year now, <$BlogItemURL$>, which apparently had something to do with the first version of Blogger Pro, doesn’t have any meaning, and isn’t replaced by anything.Source: raytemplates

ads

Ditulis Oleh : Unknown Hari: 20:59 Kategori:

0 comments:

Post a Comment

 

Blogroll

About