Latest Post Shortcode Options Sample

For each of the shortcode options, I will give a small example of the key and value.


Support my work! Click the button below
Download plugin from WordPress


The plugin Latest Post Shortcode options are

  • Number of Posts: how many to display if no pagination.
    limit="4"
  • Pagination : No pagination, Paginate results. For the paginate results, there are extra available options
    • Records Per Page
      perpage="4"
    • Offset
      offset="0"
    • Navigation options: Hide Pages Navigation, Show Pages Navigation (range of 4 visible pages), Show Pages Navigation (range of 5 visible pages), Show Pages Navigation (range of 10 visible pages)
      showpages="5"
    • Pagination Position : Above the results, Below the results, Above & Below the results
      pagespos="2"
  • Post Type* : the post types to be selected
    type="post"
  • Display Post: what details to display about each post.
    display="title,date,content-small"
  • Chars from excerpt / content : this will allow to specify a number of chars for the options that require few chars,
    chrlimit="50"
  • Use Post URL: No link to the post, Link to the post, Link to the post (_blank)
    url="yes"
  • Extra Options: Show post tags, Ajax Pagination
    show_extra="tags,ajax_pagination"
  • Order by: Date DESC, Date ASC, Menu Order ASC, Menu Order DESC, Title ASC, Title DESC
    orderby="dateD"
  • Status: select the post statuses you want to be exposed (this is dynamical, the list of post statuses will include the native statuses and the post statuses registered in your application by the other plugins)
    status="publish,private"
  • Use Image* : No image or one selected image size
    image="thumbnail"
  • CSS Class Selector : you can use the builtin two-columns or three-columns CSS classes, or you can create your own custom CSS and specify here the selectors
    css="custom-css-class"
  • Tile Pattern : order of the HTML tags (image, title, text, link).
    elements="3"
  • Select The Latest From Taxonomy
    • Taxonomy*
      taxonomy="category"
    • Term
      term="samples"
  • Select The Latest Posts With The Tag
    • Tag
      tag="photography"
    • Dynamic: No, use the selected ones or Yes, use the current post tags (this option is useful when you want to display related content on a page)
      dtag="yes"
    • Exclude Posts with Tags
      exclude_tags="slug1,slug2"
  • Select The Posts By IDs : you can specify the Post IDs
    id="10,11,23,25"
  • The Latest Posts By Parent IDs: you can specify the Parent IDs.
    parent="1,2,3"

Your potential shortcode might look similar to (don’t forget to use the square brackets)
latest-selected-content limit="4" type="post" display="title,content-small" chrlimit="50" image="full" elements="0" css="two-columns" taxonomy="category" term="samples" orderby="dateA"


Support my work! Click the button below

Other plugins related posts:

If you like it, you'll do it !Share on FacebookTweet about this on TwitterShare on Google+