xt blog
XtGems blogging function
Add block - Utilities - Social - Blog
Blog is used to publish articles and snippets of information, while allowing visitors to comment on them.
The blog block
From the building tool you can set the following blog parameters
- Post display
- Headers only
Just the title of the post
- Headers and truncated post body
The title and the first part of the post to the end of the nearest word below 49 characters
- Headers and post body
The title and the whole post
- Headers and first image
The title and the first image from the post or the first part of the post to the end of the nearest word below 49 characters if no image is found
- Headers and truncated post body and first image
The title and the first image from the post and the first part of the post to the end of the nearest word below 49 characters
- Blog posts per page
How many posts to display per page
- Post comments per page
How many comments to display per page
- Entries sorting
oldest entries first or newest
- Comment sorting
oldest comments first or newest
- Hide entry tags
Hide the tag links in the posts
- Show tags
Show all posts or just the posts with the selected tag
- Show search box
hide or show the blog search box
More options
- Format
Select a preset format for the post and comment timestamp including a "days ago" format
- Time zone
Set your local timezone
Translations
The translations for Xt blog can be set from the building tool
- Back to posts
- Comments
- This post has no comments - be the first one !
- Post a comment
- Name
- Comment
- post
- No entries found (This only shows if your blog is empty !)
- No search results founds
- Tags
- Search
- Created at
- Showing posts tagged
- Show all comments
- See parent thread
- Show all replies
- Show replies
- reply
- You are posting as
- Please login in order to post comments
- Login
- Signup
- Please confirm your email before posting
- report spam
Html only blog settings
Using the code editor you can set all of the above plus these additional parameters
Some of these settings will reset if the blog function is subsequently edited using the building tool
- format
The format of the blog timestamp is the same as Time and date
Setting this to "ago" sets the timestamp to "time ago" format
- display_limit
Length of short description defaults to 49 characters
The blog function will use up to the end of the nearest complete word below the limit
- display_symbol
What gets shown at the end of the short description the default is ...
- version = 1 or 2
- New features will NOT work
Original classes and simple markup
- Xtgem template classes and new markup with tags comment and search features
- badwords
Comma separated list of words banned from comments
Censored words are replaced by *****
- comments_disable_links
Setting this to 1 will disable links in comments
- poster = name fix the value of the name field to this value and hide the name input of the comment form