Title: JPD2
Author: Josh Pollock
Published: <strong>8 Mart 2014</strong>
Last modified: 24 Şubat 2022

---

Eklentilerde ara

Bu eklenti, **WordPress’in son 3 ana dağıtımı ile test edilmemiş**. Artık bakımı
yapılmıyor veya desteklenmiyor olabilir ve WordPress’in daha güncel sürümleriyle
birlikte kullanıldığında uyumluluk sorunları olabilir.

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

# JPD2

 [Josh Pollock](https://profiles.wordpress.org/shelob9/) tarafından

[İndir](https://downloads.wordpress.org/plugin/jpd2.0.8.7.zip)

 * [Detaylar](https://tr.wordpress.org/plugins/jpd2/#description)
 * [İncelemeler](https://tr.wordpress.org/plugins/jpd2/#reviews)
 *  [Kurulum](https://tr.wordpress.org/plugins/jpd2/#installation)
 * [Geliştirme](https://tr.wordpress.org/plugins/jpd2/#developers)

 [Destek](https://wordpress.org/support/plugin/jpd2/)

## Açıklama

Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the
transients API easy. Realize increased performance, by caching the results of your
queries, with one simple function.

All saved queries are automatically reset when any post is updated.

Basic usage:

 * Specify arguments for the query ($args)
 * Give the query a name ($name)
 * $query = jpd2_better_query( $args, $name );
 * Use $query like you would any other WP_Query object.
 * See FAQ for other usages

## Yükleme

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘JPD2’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `JPD2.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `JPD2.zip`
 2. Extract the `JPD2` directory to your computer
 3. Upload the `JPD2` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin in the Plugin dashboard

## SSS

### What I So Awesome About Transient Cacheing?

The [Transients API](https://codex.wordpress.org/Transients_API) creates temporary
entries into your database. One great use is to store the result of complex queries,
which allows WordPress to run one query–to get the transient–instead of many queries,
and get the same results.

[This article](http://www.doitwithwp.com/introduction-transients-wordpress/) explains
very well how that works. This plugin automates the process for you.

### Is It Safe To Call This Function In My Theme Or Plugin?

The safest method would be to wrap the call in a check of function_exists().

For example code see: [https://gist.github.com/Shelob9/9425101#file-use_jpd2-php](https://gist.github.com/Shelob9/9425101#file-use_jpd2-php)

This way if the JPD2 plugin is not activated, WordPress will run WP_Query directly,
instead of returning a fatal error, which would suck.

### How Long Does The Transient Last?

The transient lasts up to the default transient expiration time, unless an expiration
value is set with the $expire argument.

### How Do I Change The Default Transient Expiration Time?

Two ways:

 1. Define the JPD2_EXP constant in wp-config, or anytime before this plugin is loaded.
 2. Use the ‘JPD2_expire’ action

The action, if used, will override the constant.

### How Do I Use A WP_User_Query or WP_Meta_Query?

By default arguments are passed to WP_Query. You may use the $type argument. You
can set it to ‘wp_query’, which is the default, ‘wp_user_query’, or ‘wp_meta_query’.

### Why Is This Plugin Called JPD2?

Because Star Wars.

## İncelemeler

Bu eklenti için herhangi bir değerlendirme bulunmuyor.

## Katkıda Bulunanlar ve Geliştiriciler

“JPD2” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.

Katkıda bulunanlar

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

[“JPD2” eklentisini dilinize çevirin.](https://translate.wordpress.org/projects/wp-plugins/jpd2)

### Geliştirmeyle ilgilenir misiniz?

[Kodu görüntüleyin](https://plugins.trac.wordpress.org/browser/jpd2/), [SVN deposuna](https://plugins.svn.wordpress.org/jpd2/)
göz atın ya da [RSS](https://plugins.trac.wordpress.org/log/jpd2/?limit=100&mode=stop_on_copy&format=rss)
ile [geliştirme günlüğüne](https://plugins.trac.wordpress.org/log/jpd2/) abone olun.

## Değişiklik Kaydı

#### 0.0.1

 * The first version on WordPress.org.

#### 0.0.2

 * Readme change for better readability in FAQ
 * Update plugin URI

= 0.1.0
 * Fix conditional logic preventing non WP_Query queries from working. *
Fix args in main function. * Support for Pods queries.

## Meta

 *  Sürüm **0.8.7**
 *  Son güncelleme **4 yıl önce**
 *  Etkin kurulumlar **10dan fazla**
 *  WordPress sürümü ** 3.8 veya üstü **
 *  Test edilen sürüm **3.8.41**
 *  Dil
 * [English (US)](https://wordpress.org/plugins/jpd2/)
 * Etiketler
 * [caching](https://tr.wordpress.org/plugins/tags/caching/)[transients](https://tr.wordpress.org/plugins/tags/transients/)
 *  [Gelişmiş görünüm](https://tr.wordpress.org/plugins/jpd2/advanced/)

## Puanlar

No reviews have been submitted yet.

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

[Tüm değerlendirmeleri görün](https://wordpress.org/support/plugin/jpd2/reviews/)

## Katkıda bulunanlar

 *   [ Josh Pollock ](https://profiles.wordpress.org/shelob9/)

## Destek

Söyleyeceğiniz bir şey mi var? Yardım mı lazım?

 [Destek forumunu görüntüle](https://wordpress.org/support/plugin/jpd2/)

## Bağış yap

Bu eklentinin geliştirilmesini desteklemek ister misiniz?

 [ Bu eklentiye bağış yap ](http://JoshPress.net)