Title: Simple Subtitles
Author: Jonathan Desrosiers
Published: <strong>11 آوریل 2016</strong>
Last modified: 10 می 2016

---

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

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

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

# Simple Subtitles

 توسط [Jonathan Desrosiers](https://profiles.wordpress.org/desrosj/)

[دانلود](https://downloads.wordpress.org/plugin/simple-subtitles.2.1.1.zip)

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

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

## توضیحات

Simple subtitles adds a field on posts, pages, or custom post types for adding a
subtitle. Post types can be enabled/disabled in the writing settings section.

There are several functions in the plugin that allow you to easily get subtitles
for different contexts. These functions mirror the functions in core for titles.

#### If you want to display the subtitle in your theme on your own, use the following filter:

    ```
    <?php
        function mytheme_disable_subtitle_display( $show ) {
            return false;
        }
        add_filter( 'simple_subtitle_auto', 'mytheme_disable_subtitle_display' );
    ?>
    ```

#### By default, only tags are allowed in subtitles (with only class and style attributes). There is a filter this.

    ```
    <?php
        function mytheme_simple_subtitle_allowed_html( $allowed ) {
            $allowed['strong'] = array();
            $allowed['div'] = array(
                'class' => true,
            );

            return $allowed;
        }
        add_filter( 'simple_subtitle_allowed_html', 'mytheme_simple_subtitle_allowed_html' );

    ?>
    ```

For more info on this, read into [the wp_kses functions](https://codex.wordpress.org/Function_Reference/wp_kses).

#### Get the subtitle.

    ```
    <?php $subtitle = get_the_simple_subtitle( $post_id ); ?>
    ```

#### Display the current post’s subtitle. Should be used within the loop.

    ```
    <?php $subtitle = the_simple_subtitle( $before = '', $after = '', $echo = true ); ?>
    ```

#### Get the subtitle for use in an HTML attribute.

    ```
    <?php
        $args = array(
            'before' => '',
            'after' =>  '',
            'echo' => true
        );
        $subtitle = the_simple_subtitle_attribute( $args );
    ?><h3>Roadmap</h3>
    ```

* Add a column in the admin showing subtitles.
 * Add a setting for selecting the
subtitle HTML tag.

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

[⌊Simple Subtitles on the edit screen.⌉⌊Simple Subtitles on the edit screen.⌉[

Simple Subtitles on the edit screen.

[⌊Default Simple Subtitle display on the front end.⌉⌊Default Simple Subtitle display
on the front end.⌉[

Default Simple Subtitle display on the front end.

## نصب

 1. Upload the plugin files to the `/wp-content/plugins/simple-subtitles` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->Writing screen to configure enable subtitles for post types. 
    Pages will be enabled by default.

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

  Why is this empty?

No one has asked us any questions yet! Use the support link to tell us what is on
your mind.

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

![](https://secure.gravatar.com/avatar/be43c6fca2d17c3e5cb1a4425fb67e31a17d8440f082ddb8b7c17e4b291051eb?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-5464/)󠁿

 [sadatia](https://profiles.wordpress.org/sadatia/) 29 ژانویه 2017

Its working

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/simple-subtitles/reviews/)

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

“Simple Subtitles” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

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

 *   [ Jonathan Desrosiers ](https://profiles.wordpress.org/desrosj/)
 *   [ Linchpin ](https://profiles.wordpress.org/linchpin_agency/)
 *   [ Aaron Ware ](https://profiles.wordpress.org/aware/)

[ترجمه “Simple Subtitles” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/simple-subtitles)

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

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

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

#### 2.1.1

 * Fix bug where the automatic display of simple subtitles could not be turned off
   via filter.

#### 2.1

 * Added upgrade class for processing any upgrades that happen.
 * Upgrade all meta keys on sites using an old install of the plugin.

#### 2.0

 * Hello world! Subtitles for all.

## اطلاعات

 *  نگارش **2.1.1**
 *  آخرین به‌روزرسانی **10 سال پیش**
 *  نصب‌های فعال **30+**
 *  نگارش وردپرس ** 3.5 یا بالاتر **
 *  آزمایش‌شده تا **4.5.33**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/simple-subtitles/)
 * برچسب
 * [subtitles](https://fa.wordpress.org/plugins/tags/subtitles/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/simple-subtitles/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/simple-subtitles/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/simple-subtitles/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/simple-subtitles/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/simple-subtitles/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/simple-subtitles/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/simple-subtitles/reviews/#new-post)

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

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

 *   [ Jonathan Desrosiers ](https://profiles.wordpress.org/desrosj/)
 *   [ Linchpin ](https://profiles.wordpress.org/linchpin_agency/)
 *   [ Aaron Ware ](https://profiles.wordpress.org/aware/)

## پشتیبانی

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

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