Custom Fields
By default, all blog posts have:- title field
- body field (WYSIWYG, can include text, images, embedded media)
- image
- date
Comments
You can enable Disqus comments enabled site-wide, or use a custom Disqus setup unique to your blog. Learn more about setting up Disqus comments on your blog.Contributors and Moderators
You have the option to hand-pick contributors (allowed to post) and moderators (must approve any post) from any LiveWhale group. If you don’t set contributors, any editor from your group will be able to add/edit posts in your blog. If you don’t set any moderators, than editors/contributors can publish their own posts.Displaying Your Blog
Once your blog is created and has a few posts, you’ll use a widget to display it on any page you like. Go to Widgets > Add a new widget and select “Blogs” as the widget type. Under the basic options, choose your blog’s name in the “Only display posts from blog(s):” field.For the widget format, you can choose any fields you like to display. The following is a basic starter format, which shows the date, title, image, and a summary for each post, along with a link to the full entry:
<div class="lw_blogs_title">{date}: {title}</div>
<span class="lw_blogs_image">{image}</span>
<div class="lw_blogs_summary">{summary}</div>
<a href="{href}">Read more...</a>
Or, you can show the full text of each blog post in the widget:
<div class="lw_blogs_title">{date}: {title}</div>
<span class="lw_blogs_image">{image}</span>
<div class="lw_blogs_summary">{post}</div>
Save your widget and drop it into any page: that’s it! Your blog is now publicly visible.
Creating a Blog Post Details Template
Just like with a news story, LiveWhale needs a details template to display individual blog posts. By default, LiveWhale will look for /_ingredients/templates/details/blogs.php for this file, though you can set your own file path in your site-wide config file.Near the top of your blogs.php template, make sure to include <widget type=”blogs_details” priority=”high”/>.