Welcome! To use this support forum, please Login or Join Today!

You are here → Home :: Forum Home :: General WordPress :: WordPress :: Thread

   

Teaser Blog titles

{name}
Rank

Total Posts: 14

Joined 2011-11-27

PM

 
speclind.net is website

How do i add teaser blog titles that automatically update, to the middle of my home page? All the widgets go to the bottom or sidebar. Is there another way i can add the linked title of the last 7 most recent blog post to the middle of the home page content, automatically update everytime I make a new post?
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
Sure, you can use the latest shortcode inside content:

Example Usage:
[latest excerpt="true" thumbs="true" width="50" height="50" num="5" cat="8,10,11"]

Parameters:
// excerpt: (true or false) Display the leading excerpt text of each article
// thumbs: (true or false) Displays the featured thumbnail in front of each article (must be set in each post)
// width: thumbnail width
// height: thumbnail height
// num: number of articles to display
// cat: comma separated list of category ID's to be displayed
{name}
Rank

Total Posts: 14

Joined 2011-11-27

PM

 
Casey - 01 December 2011 11:14 PM
Sure, you can use the latest shortcode inside content:

Example Usage:
[latest excerpt="true" thumbs="true" width="50" height="50" num="5" cat="8,10,11"]

Parameters:
// excerpt: (true or false) Display the leading excerpt text of each article
// thumbs: (true or false) Displays the featured thumbnail in front of each article (must be set in each post)
// width: thumbnail width
// height: thumbnail height
// num: number of articles to display
// cat: comma separated list of category ID's to be displayed


Thanks a lot, works great!
{name}
Rank

Total Posts: 14

Joined 2011-11-27

PM

 
Casey - 01 December 2011 11:14 PM
Sure, you can use the latest shortcode inside content:

Example Usage:
[latest excerpt="true" thumbs="true" width="50" height="50" num="5" cat="8,10,11"]

Parameters:
// excerpt: (true or false) Display the leading excerpt text of each article
// thumbs: (true or false) Displays the featured thumbnail in front of each article (must be set in each post)
// width: thumbnail width
// height: thumbnail height
// num: number of articles to display
// cat: comma separated list of category ID's to be displayed


For the category id's, can they be words? Like below? When i use the category word, the blog post do show, but i get page errors on my site (raw tags show around slide show, all paragraphs become grouped tougether

[latest excerpt="true" thumbs="true" width="50" height="50" num="5" cat="trading"]
{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
No, the categories in shortcodes need to be the ID.