TOP

v65:blog:widget

<v65:blog:widget></v65:blog:widget>

The v65:blog:widget tag displays a list of blogs.

Optional Attribute(s):

  • maxRows:   <v65:blog:widget maxRows="3"></v65:blog:widget>
  • blogAuthorID:   <v65:blog:widget blogAuthorID="blogAuthorDeveloperID"></v65:blog:widget>
  • blogCategoryID:   <v65:blog:widget blogCategoryID="blogCategoryDeveloperID"></v65:blog:widget>
  • showDescription:   <v65:blog:widget showDescription="1"></v65:blog:widget>
  • options:   <v65:blog:widget options="{'element':'div','attributes':{'class':'v65-blogWidget'}}"></v65:blog:widget>

SAMPLE

The v65:blog:widget tag outputs the following HTML code:
<div class="v65-blogWidget v65-blogComponent">
	<div class="v65-blogPost">
		<div class="v65-avatar v65-blogPostAvatar">
			<img src="/assets/images/avatar.jpg" alt="Author Name" />
		</div>
		<!--/v65-avatar-->
		<div class="v65-blogPostText">
			<div class="v65-blogPostMeta">
				<div class="v65-blogPostDate">October 10, 2011</div> 
				<div class="v65-blogPostAuthor"><a href="//Link//">Author</a></div>
			</div><!--/v65-blogPostDate-->
			<div class="v65-blogPostTitle v65-title">
				<a href="//Link//">Facebook Ecommerce - Will Customers Buy Wine on Facebook?</a>
			</div>
			<p>There are over 800 million active users on Facebook, and Facebook accounts for 1 in 5 pages accessed on the internet... is this a target for your wine?  <a href="//Link//" class="v65-blogPostLink">Continue</a></p>
			<div class="v65-blogFooter">
				<div class="v65-blogFooterDate">
					Oct 10, 2011 at 8:00 AM
				</div>
				<div class="v65-blogFooterLink">
					<a href="//link//">Permalink</a>
				</div>
				<div class="v65-blogFooterComments">
					<a href="//link//">Comments <span>9</span></a>
				</div>
			</div><!--/v65-blogFooter-->
		</div><!--/v65-blogPost-text-->
	</div><!--/v65-blogPost"-->
</div>