Title: DF-Pagination
Author: Nitin Yawalkar
Published: <strong>30 دسامبر 2011</strong>
Last modified: 30 دسامبر 2011

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

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

# DF-Pagination

 توسط [Nitin Yawalkar](https://profiles.wordpress.org/yawalkarm/)

[دانلود](https://downloads.wordpress.org/plugin/df-pagination.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/df-pagination/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/df-pagination/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/df-pagination/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/df-pagination/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/df-pagination/)

## توضیحات

DF-Pagination is a simple, flexible and cool pagination plugin which provides users
with better navigation on your WordPress site. It has builtin ‘rel=next’ and ‘rel
=previous’ markup.

In addition to increasing the user experience for your visitors, it has also been
widely reported that pagination increases the SEO of your site by providing more
links to your content.

Starting in version 1.0, DF-Pagination can also be used to pagination post comments!

Translations: https://plugins.svn.wordpress.org/df-pagination/I18n (check the version
number for the correct file)

## عکس‌های صفحه

[⌊An example of the df-pagination display using the default options and styling⌉⌊
An example of the df-pagination display using the default options and styling⌉[

An example of the df-pagination display using the default options and styling

## نصب

_Install and Activate_

 1. Unzip the downloaded df-pagination zip file
 2. Upload the `df-pagination` folder and its contents into the `df-content/plugins/`
    directory of your WordPress installation
 3. Activate df-pagination from Plugins page

_Implement_

For posts pagination: 1) Open the theme files where you’d like pagination to be 
used. Usually this is the `loop.php` file. For older version of WordPress, you may
need to update the `index.php`, `archive.php` and `search.php` files.

2) Replace your existing `previous_posts_link()` and `next_posts_link()` code block
with the following:

    ```
    <?php if(function_exists('df_pagination')) {
        df_pagination();
    } ?>
    ```

_Configure_

1) The styles can be changed with the following methods:

 * Add the following custom CSS to your theme’s `styles.css’ :
 * /* Pagination */ .pagination { clear:both; padding:0 0 10px 200px; position:relative;
   font-size:11px; line-height:13px; } .pagination span, .pagination a { display:
   block; float:left; margin: 2px 2px 2px 0; padding:6px 9px 5px 9px; text-decoration:
   none; width:auto; color:#fff; background: #555; } .pagination a:hover{ color:#
   fff; background: #3279BB; } .pagination .current{ padding:6px 9px 5px 9px; background:#
   3279BB; color:#fff; }

## سوالات متداول

  How can I style paginatios?

You may use the css either from style.css or just copy the custom css from installation
tab and paste it into your themes style.css and then edit as you wish.

  How can I override the default pagination settings?

The `df_pagination()` function takes one optional argument, in query string format,
which allows you to override the global settings. The available options are:

 * title – The text/HTML to display before the pagination links
 * nextpage – The text/HTML to use for the next page link
 * previouspage – The text/HTML to use for the previous page link
 * before – The text/HTML to add before the pagination links
 * after – The text/HTML to add after the pagination links
 * empty – Display before markup and after markup code even when the page list is
   empty
 * range – The number of page links to show before and after the current page
 * anchor – The number of links to always show at beginning and end of pagination
 * gap – The minimum number of pages before a gap is replaced with an ellipsis (…)

You can even control the current page and number of pages with:

 * page – The current page. This function will automatically determine the value
 * pages – The total number of pages. This function will automatically determine
   the value

Example :

    ```
    <?php if(function_exists('df_pagination')) {
        df_pagination('range=4&anchor=2&nextpage=Next&previouspage=Previous');
    } ?>
    ```

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“DF-Pagination” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Nitin Yawalkar ](https://profiles.wordpress.org/yawalkarm/)

[ترجمه “DF-Pagination” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/df-pagination)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/df-pagination/)، [مخزن SVN](https://plugins.svn.wordpress.org/df-pagination/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/df-pagination/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/df-pagination/) مشترک شوید.

## گزارش تغییرات

#### 1.0

 * Initial release

## اطلاعات

 *  نگارش **1.0**
 *  آخرین به‌روزرسانی **15 سال پیش**
 *  نصب‌های فعال **20+**
 *  نگارش وردپرس ** 2.7.0 یا بالاتر **
 *  آزمایش‌شده تا **3.3.2**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/df-pagination/)
 * برچسب
 * [navigation](https://fa.wordpress.org/plugins/tags/navigation/)[page](https://fa.wordpress.org/plugins/tags/page/)
   [pagination](https://fa.wordpress.org/plugins/tags/pagination/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/df-pagination/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/df-pagination/reviews/)

## مشارکت کنندگان

 *   [ Nitin Yawalkar ](https://profiles.wordpress.org/yawalkarm/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/df-pagination/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://digitalfair.tk/)