Posts

Content

Description

Allows display of recent & related posts with thumbnails & metas.

Features
  • Multiple options
  • Custom thumbnail sizes
  • List & Grid views
  • Unlimited use per page

Shortcode Example

[posts]

Examples

Example 1 Live Preview

Display the no. 1 most recent post from any category. Thumbnail enabled and aligned right. Post date & excerpt enabled.

[posts qty="1" t="right" date="yes" excerpt="yes"]
A trip back to your roots
A trip back to your roots
April 8, 2012

Thousands of people flock to Salt Lake City each year, not for Utah’s skiing or national parks, but to search through endless records of births, deaths and marriages at one the world's largest repositories of genealogy information on the planet.

Read More
Example 2 Live Preview

Display three most recent posts from any category. Thumbnail enabled and of custom size. Custom title tag.

[posts qty="3" t="left" tw="70" th="55" titletag="h6"]
Example 3 Live Preview

Six recent posts from any category. Grid view by three posts per row. Custom width for grid wrapper. Thumbnail enabled and of custom size. Excerpt enabled. Custom margin between posts.

[posts qty="6" w="600px" m="0 10px" grid="3" t="center" tw="180" th="80" excerpt="yes"]
A trip back to your roots
A trip back to your roots

Thousands of people flock to Salt Lake City each year, not for Utah’s skiing or national parks, but to search through endless records of births, deaths and marriages at one the world's largest repositories of genealogy information on the planet.

Read More
Sydney’s gourmet food safaris
Sydney’s gourmet food safaris

Popular Australian television host Maeve O’Meara, of Food Safari fame, grew the idea of a gourmet culinary tour in Sydney after sharing some of her favourite foodie discoveries with family and friends.

Read More
The ultimate New York City food tour
The ultimate New York City food tour

“I sometimes feel like a drug dealer, pushing stuff on people,” my driver confessed as he weaved a white Checker taxi through New York City traffic. “Hey, wanna piece of pie?”

Read More
Gorillas in the mix in Uganda
Gorillas in the mix in Uganda

Uganda’s Bwindi Impenetrable National Park is home to half of the world’s remaining wild mountain gorillas.

Read More
850,000 Android devices activated each day now
850,000 Android devices activated each day now

On his first anniversary as Google CEO, Larry Page shared some new company numbers: 850,000 Android devices are activated daily.

Read More
Apple closes a trojan loophole after 550,000 Macs are infected
Apple closes a trojan loophole after 550,000 Macs are infected

The security of more than 550,000 Macs around the world have been compromised by the Flashback trojan.

Read More

Attributes

w

Width of each section in grid. (pixels -OR- percentage)

w="200px"
w="50%"

NOTE: Units are required for only for this attribute.

m

Margins (pixels)

m="0 10px" translates to (by default)

m="15px"

align

Alignment.

align="left"
align="right"
align="center"

grid

Grid view (Default: NULL); values determine size of each

grid="2"
grid="3"
grid="4"
grid="5"
etc

type

Type of post displayed. (Default: recent)

type="recent"
type="related"

cat

Choice of category post was organized under.

cat="9"
cat="9,1,20"

qty

Number of recent posts displayed. (Default: 3)

qty="5"

orderby

Sort retrieved posts by predetermined parameters. (Default: date)

orderby="date"
orderby="rand"
orderby="ID"
orderby="title"
orderby="modified"
orderby="comment_count"
orderby="menu_order"

order

Dictates if posts are displayed in ascending or descending order. (Default: DESC)

order="DESC" – from lowest to highest values

order="ASC" – from highest to lowest values

title

Post titles enabled. (Default: yes), (Enabled)

title="yes"
title="no"

titletag

Displays title tags of posts. (Default: h5)

titletag="h4"
titletag="h3"
titletag="strong"

date

Date of post enabled. (Default: NULL), (Disabled)

date="yes"

postedin

Displays categories of posts. (Default: NULL), (Disabled)

postedin="yes"

tags

Post tags. (Default: NULL), (Disabled)

tags="yes"

comments

Displays number of comments in post. (Default: NULL), (Disabled)

comments="yes"

excerpt

Displays excerpt of posts. (Default: NULL), (Disabled)

excerpt="yes"

t

Displays thumbnail of post & thumbnail alignment. (Default: none), (Disabled)

t="left"
t="right"
t="center"

This attribute has two functions:

  1. Thumbnail will be displayed in the event that the t attribute is not working.
  2. Thumbnail alignment.
tw

Thumbnail width. (Default: 100), (Pixels)

tw="150"

th

Thumbnail height. (Default: 100), (Pixels)

th="150"

crop

Thumbnail crop area. (Default: NULL), (By center)

crop="top"

button

Display of Read More button. (Default: Read More), (Enabled)

Can be modified to the following:

button="Learn More"
button="Details"
button="no"

This parameter has two functions:

  1. Display of corresponding text if button attribute is not working.
  2. Text in a button.
offset

Displays number of posts displaced/passed over. (Default: 0)

offset="1"

resp

Do not apply responsive styles for this shortcode. by default: NULL (responsive styles enabled)

resp="no"

2012 © Your Company Name
TopBusiness Premium WordPress theme by PandaThemes