WordPress plugin intelligence profile

OneSpace Last Post

Provides a shortcode to get the latest posts on the blog, for one or more categories or a post_type.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.0
Current version0.1
WordPress coverageTested up to WordPress 4.0
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update5 Sept 201412y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records OneSpace Last Post version 0.1 as active, updated 12y ago and tested up to WordPress 4.0.

Overview

About this plugin

br/lastpost/

This plugin provides you with a shortcode that returns the latest posts from specifics categories or post_types, you can choose how many posts is to be show or what kind of information you can get from posts.

Arguments:

  • id – You can use any number of post categories ids separeted by commas
  • num – the number of posts to return for wich categorie id
  • info – this is where goes all the printing information

Info printing arguments:

  • thumb: returns the post’s featured image, you must specify the width of the thumb after ‘:’, has a link to the post
  • title: returns the title, has a link to the post
  • excerpt: returns the first lines from you post you can specify the lenght of the text to show and a subtext. excerpt:LENGTH:SUB-TEXT, has a link to the post
  • content: returns all content from post
  • date: returns date of post publishing, you can specify the format after ‘:’

More about date:

Date format uses php default formating symbols, here goes some of then;

d: day of month

m: month

y: year

it has some limitations, you can’t use escape chars (yet).

php

A few examples:

[os_lastpost id=”x,y,z” num=2 info=”title,date:d/m/y,thumb:130,excerpt:120: … veja mais”]

returns the latest 2 posts from post categories x, y and z, printing the date on Day/Month/Year, featured image 130 px of width, 120 chars from post content (html stripped) and a custom text ” … veja mais” at the end.

[os_lastpost post_type=”custom_post_type” num=5 info=”title,excerpt”]

returns the latest 5 posts from a custom post type, printing title, and the first 60 chars from the post content and a default text ” … read more”

[os_lastpost post_type=”post” num=5 info=”title,content”]

returns the latest 5 posts from all your categories, printing title, and full content

Arbitrary section

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • latest posts
  • post
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.0
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity5 Sept 201412y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.