Plugin info

Total downloads: 6,002
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/16/2007 (6712 days ago)
Added to WordPress: 8/13/2007 (18 years old)
Minimum WordPress version: 2.0
Tested up to WordPress version: 2.2.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6712 days ago

20/100

Is NS Recent Posts abandoned?

Possibly abandoned (last update 6712 days ago).

Compatibility

Requires WordPress: 2.0
Tested up to: 2.2.2
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Recent Posts
Rating 0.0/5 (0 reviews)Active installs 500
Recent Comments
Rating 0.0/5 (0 reviews)Active installs 200
Post-Plugin Library
Rating 2.0/5 (1 reviews)Active installs 10,000
Recently Registered
Rating 5.0/5 (55 reviews)Active installs 9,000
Superb Recent Posts With Thumbnail Images
Rating 0.0/5 (0 reviews)Active installs 7,000
Advanced Recent Posts
Rating 4.2/5 (30 reviews)Active installs 6,000

Description

Returns an array of the most recent posts. Simple and powerfull.

Usage

Function ns_recent_posts(10, 0, 200, false, ", ") returns an array of objects of recent posts.

Params for function:

  • $no_posts – number of posts to display. Default 10.
  • $first – Number of the first post. Used when is needed to display, for example, posts from 10 to 20, but not from the first post. Default 0.
  • $excerpt_len – Number of symbols in excerpt. Default 200.
  • $db_unicode – boolean value variable. Determines if your wordpress database is in unicode format (UTF-8). Default FALSE. FALSE – non-Unicode, uses standart string functions. TRUE – Unicode(UTF-8), uses mbstring functions.
  • $tags_divider – string value of categories list divider. Default “, “.

Use function ns_recent_posts() in a loop.

Objects returned by array has properties, that is used in construction: $object->property, where “$object” – your variable used in a loop, but “property” can be:

  • post_title – Title of a post
  • permalink – Link to post
  • bookmark – Title of a post of “title” attribute
  • day – day
  • month – month
  • year – year
  • post_content – post preview (excerpt)
  • post_tags – list of categories (tags)
  • comment_count – number of categories

Example


      

{$re_post->day}.{$re_post->month}.{$re_post->year}

{$re_post->post_content}

Tags: {$re_post->post_tags}
Comments ({$re_post->comment_count}) »

HTML; } ?>

Note

  • Place this code to any place in any file of your template.
  • To show value of property of object in “echo”, add braces in construction: {$object->property}
  • Plugin also erases all tags, and leaves simple text in excerpt.

Installation

Standard WordPress quick and easy installation.

  1. Download and unzip ns_recent-posts.zip
  2. Upload to the plugins folder.
  3. Log in WordPress and activate the plugin.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available