You can customize the view in your way. It uses
amtyThumb plugin to extract first image for a post.
Fully customizable. You may control thumbnail size, Title length, appearance, etc.
If you don't have any image in a post, you can set default image too.
You can display posts for following with single plugin.
- What other users are reading now.
- Highly discussed posts
- Highly visited posts
- Random pick or pick of the day.
- Untouched articles
- Recently submitted posts
Note : I am pausing it's development for some time due to other priorities. However I'll keep supporting for any bug, small features, and any request.
You can know more about furhter releases, support, plans, and my other developments on
git.
Features over other plugins
- amtyThumb plugin is best to extract any type of image from any post.
- No need to set separate field for image in your post.
- If there is no image in the post it can show default image.
- Appearance is fully customizable through widget panel or from short code.
- You can test plugin through admin page.
- List posts : You can list posts sorted by number of comments, views, last visted time etc. It'll help you
Coming soon : One call function to build theme pages.
Dependency & Usage
- amtyThumb plugin must be installed for image extraction.
Installation of plugin is similar to other wordpress plugin.
e.g.
- Extract
amtyThumb_post.zip
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Add widget to your sidebar using widget panel of your dashboard.
You may also add amtyThumb_post anywehre in your post or page using short code. For his;
[amtyThumb show_thumb='no']
[amtyThumb max_post ='3']
Possible parameters with default values
'title' => 'Amty Thumb Posts', //'' to hide it
'before_title' => '
',
'after_title' => '',
'thumb_width' => '70',
'thumb_height' => '70',
'constrain' => '1',
'default_img_path' => '', //should be set
'pretag' => '',
'template' => '', //
%POST_TITLE%
'posttag' => '',
'title_len' => 30,
'max_post' => 10,
'category' => 'All',
'widgettype' => 'Recently Written' //'Recently Written','Random','Most Commented'
Template Parameter
- %VIEW_COUNT% - Display number of times post is visited.
- %POST_THUMB% - Display thumbnail
- %POST_URL% - Display post param link
- %POST_TITLE% - Display post title
- %POST_CONTENT% - Display stripped post content
- %POST_EXCERPT% - Display post excerpt
- %POST_AUTHOR% - Display post author
- %POST_DATE% - Not supported when displaying recently viewed posts
- %SHORT_TITLE% - Display short title.
- %COMMENTS_COUNT% - Number of comments
Functions
- getAmtyViewCount(post_id) to get number of views.
- getLastVisitedTime(post_id) to get last visit time.
For any doubt or query visit wp-thumb-post