Wednesday, March 14, 2012

Blogger - Get Back Missing Labels

This worked. I consolidated information I found across the web.


1. Make sure the "Labels" box is checked: Page Elements> Blog Posts> Edit (Mine was no longer checked... odd) Note you may have changed the "Labels" box to something else, like "Tags".

2. Go to Design > Edit HTML and Download Full Template (this is your backup just in case)

3. Click on the check box which says “Expand Widget Templates

4. Look for 
 <b:include data='post' name='postQuickEdit'/>  and immediately after that place the following code. Yes, just put this code between the line above and whatever is directly below that line.


 <span class='post-labels'>
        <b:if cond='data:post.labels'>
          <data:postLabelsLabel/>
          <b:loop values='data:post.labels' var='label'>
            <a expr:href='data:label.url' rel='tag'><data:label.name/></a>       
            <b:if cond='data:label.isLast != "true"'>,</b:if>
          </b:loop>
        </b:if>
      </span>


5. You can click "PREVIEW" and view your work before committing with "SAVE NOW".


As you can see on my posts, I now have my labels back.


Source for most of this: http://www.google.com/support/forum/p/blogger/thread?tid=2ebc44aed318124b&hl=en


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. This post has been scraped in violation of that license if you are reading this post on other than http://www.digital-qa.blogspot.com/.


2 comments:

Related Posts Plugin for WordPress, Blogger...