• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Template Tags for the Blog Body

Template Tags for the Blog Body

The tags described below are used to output the main body of your blog page, including the blog entries themselves.

tagdescription
<$BlogTitle$>outputs the contents of the Title field from the Settings | Basic page (page 38)
<$BlogURL$>outputs the URL of the blog's main page, e.g., http://knowingbeans.blogspot.com (page 4)
<$BlogDescription$>outputs the contents of the Description field from the Settings | Basic page (page 38)
<Blogger>...</Blogger>anything that should repeat for each entry in your blog must be contained within these tags
<BlogDateHeader>...</BlogDateHeader>a conditional tag whose contents only appear with the first (and only the first) of each day's blog posts
<$BlogDateHeaderDate$>generates the date of the post; its format is determined by the selection made in the Date Header Format field on the Settings | Format page; must be enclosed in opening and closing <BlogDateHeader> tags;
<BlogDateFooter>...</BlogDateFooter>a conditional tag whose contents only appear with the last (and only the last) of each day's blog posts
<BlogItemTitle>...</BlogItemTitle>a conditional tag whose contents are output only if the post has a title; should be used to contain the <$BlogItemTitle$>
<$BlogItemTitle$>outputs the title of an individual post; must be contained in opening and closing <BlogItemTitle> tags
<BlogItemURL>...</BlogItemURL>a conditional tag whose contents are output only if the <$BlogItemURL$> is not empty; is useful if there are other formatting instructions that should be hidden when no <$BlogItemURL$> is present
<$BlogItemURL$>outputs the contents of the Link field from the Post | Create page, which contains an external URL to which the post is presumably related
<$BlogItemBody$>outputs the body of the post
<$BlogItemAuthor$>outputs the contents of the First Name and Last Name fields from the profile of the blogger who wrote the post
<$BlogItemAuthorNickname$>outputs the contents of the Display Name field from the profile of the blogger who wrote the post
<$BlogItemAuthorEmail$>outputs the contents of the Email Address field from the profile of the blogger who wrote the post
<$BlogItemAuthorURL$>outputs the contents of the Homepage URL field from the profile of the blogger who wrote the post
<$BlogItemDateTime$>outputs the date and/or time that the post was written; the format, and indeed whether or not the date and/or time are included, is determined by the selection in the TimestampFormat field on the Settings | Formatting page
<$BlogItemNumber$>outputs the post's unique id number; is useful as the target of a permalink when you're not using individual post pages
<$BlogItemArchiveFileName$>outputs the archive file name for the individual post
<$BlogItemPermalinkURL$>outputs the URL of an individual post's permalink; note that this URL will change if you change the setting for Enable Post Pages on the Settings | Archives page
<$BlogItemControl$>creates a QuickEdit link on your blog page that brings you directly to the Posting | Edit Posts page for an individual blog; only appears to the author of the blog post or to the owner of the blog and only if they're logged into their Blogger account also creates the Email Post link icon that allows visitors to email your posts to others (see page 111)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint