In this feature, you can:
- Learn more about customizing your blog's design
To customize the blog design, do the following:
- Login to your WebStore Manager.
- Go to Design & Content > Edit Templates.
- Scroll to the Blog header in the drop-down menu.
Warning: If you are not comfortable with editing HTML and do not have experience with web scripting languages, it is advisable to seek WebSell's assistance with changes to these templates.
Customizing your blog
- If you are familiar with HTML, you can customize almost every aspect of the blog using NitroScript.
- If you would like to customize the look of your webstore’s blog, get in touch with our support or design teams to discuss your options.
- Where you have long articles, it can be advantageous to only show a short excerpt, which can be expanded by the reader if they are interested in reading the whole post.
- By default, on the blog listing pages (blog categories), the WebStore will truncate the article at the end of the first paragraph.
If you would prefer to show entire articles replace line 35 with the following:
Blog Article and Category NitroScript Variables
The following fields are available through NitroScript for both articles and categories:
- blogCategory|blogArticle[‘name’] : the name of the blog category or article
- blogCategory|blogArticle[‘content’] : the complete content of the blog category or article
- blogCategory|blogArticle[‘content_preview’] : a shortened version of the blog category or article
- blogCategory|blogArticle[‘author_name’] : the name of the blog category/ article author
- blogCategory|blogArticle[‘author_email’] : the email of the blog category/ article author
- blogCategory|blogArticle[‘date_published’] : human friendly date of publication localized to store locale
- blogCategory|blogArticle[‘time_published’] : human friendly time of blog category publication
- blogCategory|blogArticle[‘url’] : URL of the blog category/ article page
The following fields are available only to blog articles:
- blogArticle[‘month’] : month article was published
- blogArticle[‘year’] : year article was published
If you have any problems with this feature, contact our support team by opening a ticket.