Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 735 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 735 Bytes

TNAA Posts

Wordpress shortcode plugin displaying TNAA posts via the [tnaa-posts] in a post or page.

How to Use

Template: [tnaa-posts limit="5" sort="desc" sortby="date"]

Parameters

  • limit - Maximum number of items to be returned in result set.
    • Default: 5
  • order - Order sort attribute ascending or descending.
    • Default: desc
    • One of: asc, desc
  • orderby - Sort post collection by object attribute.
    • Default: date
    • One of: title, author, date, id, include, modified, parent, relevance, slug, include_slugs
  • categories - Limit result to all items that have the specified term id assigned in the categories taxonomy.
    • Example: [tnaa-posts categories="13"]