Title: TDD Recent Posts
Author: Taylor Dewey
Published: <strong>15.10.2008</strong>
Last modified: 17.11.2011

---

Шукати плагіни

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

![](https://s.w.org/plugins/geopattern-icon/tdd-recent-posts.svg)

# TDD Recent Posts

 Від автора [Taylor Dewey](https://profiles.wordpress.org/taylorde/)

[Завантажити](https://downloads.wordpress.org/plugin/tdd-recent-posts.2.0.zip)

 * [Деталі](https://uk.wordpress.org/plugins/tdd-recent-posts/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/tdd-recent-posts/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/tdd-recent-posts/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/tdd-recent-posts/#developers)

 [Підтримка](https://wordpress.org/support/plugin/tdd-recent-posts/)

## Опис

This is a very simple plugin that mimics the effect of the “recent posts” widget
included with WordPress, but with the addition of a content preview. The plugin 
will, by default, display the name of the post (with a link) and a short bit of 
text from the post.

The number of characters to truncate is controllable in the widget panel.

### Limitations

 * The plugin strips out any HTML tags from the post before displaying it, so if
   you are looking to display images — this isn’t your plugin.

## Скріншоти

[⌊Plugin being displayed in the sidebar of Twenty Eleven (WordPress' default theme)⌉⌊
Plugin being displayed in the sidebar of Twenty Eleven (WordPress' default theme
)⌉[

Plugin being displayed in the sidebar of Twenty Eleven (WordPress’ default theme)

[⌊Widget admin options.⌉⌊Widget admin options.⌉[

Widget admin options.

## Встановлення

Same ol’

Do your normal plugin installation routine. There are no settings, just the options
in the widget itself. The widget title is TDD Recent Posts. It does not replace 
the existing Recent Posts widget.

## Часті питання

  Can I set it to display pages as well as posts?

Yes — actually, any post type or any query you want — although it is not in the 
admin menu.
 1. Open tddrecentposts.php 1. Around line 124, you’ll find the query
arguments. 1. Add (or remove) query arguments from the array as discussed here: 
https://codex.wordpress.org/Function_Reference/query_posts 1. Or, request that I
add the feature in the next version.

  ________ screwed up OR _________ isn’t working…

Sorry? Plugin dev isn’t my full time job. Shoot me an email or post on my website
and I’ll try to fix it.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“TDD Recent Posts” — проект з відкритим вихідним кодом. В розвиток плагіну внесли
свій вклад наступні учасники:

Учасники

 *   [ Taylor Dewey ](https://profiles.wordpress.org/taylorde/)

[Перекладіть “TDD Recent Posts” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/tdd-recent-posts)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/tdd-recent-posts/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/tdd-recent-posts/) або
підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/tdd-recent-posts/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/tdd-recent-posts/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 2.0

 * It’s a long time coming, but I finally got around to updating this plugin for
   a modern WordPress! It now utilizes the widget architecture so you can have multiple
   instances running. Actually, it’s a complete re-write of the plugin.
 * Eliminated the “hard truncate” option, because it didn’t really matter
 * Updated the truncate algorithm slightly, so it will remove punctuation at the
   end of the truncate view
 * Cleaned up (er-rewrote) the widget options so play nicer with others.
 * This version doesn’t use the options table to store options (the plugin architecture
   takes care of that for us), so unfortunately upgrading will cause any previous
   options to disappear. I clean up (delete) any existing options in the table.

#### 1.2

 * Added a “truncate excerpts” option allows you to shorten the content that is 
   hand-written in the excerpt field of a new post.
 * Added a “hard truncate” option which will shorten the preview content to exactly
   the number of characters you specify.

#### 1.1

 * Fixed xhtml validation errors that this plugin was causing.

## Мета

 *  Версія **2**
 *  Останнє оновлення **15 років тому**
 *  Активних встановлень **30+**
 *  Версія WordPress ** 3.2 або вище **
 *  Tested up to **3.2.1**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/tdd-recent-posts/)
 * Позначки
 * [excerpt](https://uk.wordpress.org/plugins/tags/excerpt/)[post](https://uk.wordpress.org/plugins/tags/post/)
   [posts](https://uk.wordpress.org/plugins/tags/posts/)[preview](https://uk.wordpress.org/plugins/tags/preview/)
   [recent](https://uk.wordpress.org/plugins/tags/recent/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/tdd-recent-posts/advanced/)

## Оцінки

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/tdd-recent-posts/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tdd-recent-posts/reviews/)

## Учасники

 *   [ Taylor Dewey ](https://profiles.wordpress.org/taylorde/)

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/tdd-recent-posts/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=385223)