Slider, Horizontal Post and Vertical Post use by one Javascript Script and You can see Default Code to Call this Plugin look like below::
jQuery("#ID_Place_To_Load_Plugin").RecentPostbyTag({
blogURL: "",
MaxPost: 4,
FirstImageSize:"s220-p",
ImageSize: "s80-p",
Summarylength: 100,
ShowDesc: false,
ShowDate: true,
ShowComment: true,
Random: false,
postType: "v",
pBlank: "http://1.bp.blogspot.com/-htG7vy9vIAA/Tp0KrMUdoWI/AAAAAAAABAU/e7XkFtErqsU/s72-c/grey.gif",
MonthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
tagName: false
});
Property | Description |
blogURL | Yours blog URL or you can leave it blank to load JSON where this script load. |
MaxPost | Maximum number of article will be show |
Summarylength | Number of summary characters to show. |
ImageSize | Image Format use Picasa/Blogspot image format:
To make square image (200x200) Image Format use like this "s200-c" or "s200-p". image will be crop to make it square.
Blogspot Image format also look like this : "s200" (if image landscape width will 200px. If image Portrait height will 200px), "w200" (image width will 200px) or "h200" (image height will 200px) |
FirstImageSize | Image Format use Picasa/Blogspot image format:
To make square image (200x200) Image Format use like this "s200-c" or "s200-p". image will be crop to make it square.
Blogspot Image format also look like this : "s200" (if image landscape width will 200px. If image Portrait height will 200px), "w200" (image width will 200px) or "h200" (image height will 200px) |
ShowDesc | To Show All Description (Just Work on Horizontal and Vertical PostType). Default is false |
ShowDate | To Show Date: Default is true |
ShowComment | To show Comment: Default is true (Just Work on Horizontal and Vertical PostType). |
Random | To make post ramdom: Default is false |
postType | There are Three kind of PostType: "v" (vertical Post), "h" (horizontal Post) and "s" (Slider Post) |
pBlank | Backup image if post don't have image |
MonthNames | Format months name |
tagName | If you want to show Post by the Label. Example: to show post from Sports Label just write like this tagName:"Sports" |
0 komentar