Sabtu, 24 Oktober 2015

How to Add Author Box Below Blogger Post

How to Add Author Box Below Blogger Post - It's excellent news that Apple has moved to the seventh generation Intel Kaby Lake processors, we are also pleased to see new graphics cards. Performance is outstanding. The 15-inch MacBook Pro would still benefit from a few other pro features, a 4K display for one, 32GB RAM being another. Yet at the already high price point, Apple may well be saving us from staring down a £3,000+ buying decision. For now, this is the best MacBook Pro but it comes at a cost that alienates new users and with ports that will frustrate pro users. Before you rush out, well we have collected a lot of data from the field directly and from many other blogs so very complete his discussion here about How to Add Author Box Below Blogger Post, on this blog we also have to provide the latest automotive information from all the brands associated with the automobile. ok please continue reading:

If you are using a custom blogger template, sometimes the blogger default author box will not be displayed under your blog post, although you activate "Show Author Profile Below Post" option in Blogger settings. If you have the same problem follow the steps given below to display it in your blog.
Find this in "Edit HTML":
<b:includable id='post' var='post'>
Now scroll down slowly until you this line:
<div class='post-footer'>
Add below code just before above line:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:if cond='data:post.authorAboutMe'>
<div class='author-profile' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<b:if cond='data:post.authorPhoto.url'>
<img expr:src='data:post.authorPhoto.url' itemprop='image' width='50px'/>
<b:else/>
<img itemprop='image' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkby6fGxCLQw2ZESRvu9C5fFoZ1ZM2yH02tp6N3ECMJLiaCQP36b7bW1gZCTGAwL2HetukpEV7qqG4PHc5IHDyIbeK2k7O85Teraua_VTpjYd6n8sOeeaKp8fR4cNw-NIHYbhuNgUQN2g/s1600/no-avatar-50.png' width='50px'/>
</b:if>
<div>
<a class='g-profile' expr:href='data:post.authorProfileUrl' itemprop='url' rel='author' title='author profile'>
<span itemprop='name'><data:post.author/></span>
</a>
</div>
<span itemprop='description'><data:post.authorAboutMe/></span>
</div>
</b:if>
</b:if>
To understand it better, see this image:
Add Author Box to Blogger
Now find this:
]]></b:skin>
Add this CSS code just before above code:
.author-profile {
background: #f6f6f6;
border: 1px solid #eee;
margin: 15px 0 15px 0;
padding: 8px;
overflow: hidden;
}

.author-profile img {
border: 1px solid #ddd;
float: left;
margin-right: 10px;
}
Save your template. Final result will be look like this:
Author Profile Box in Blogger

SHARE this with others...THANKS. 

Tidak ada komentar:

Posting Komentar