Title: Subtitle
Author: ShinichiN
Published: <strong>2013 年 5 月 2 日</strong>
Last modified: 2014 年 6 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Subtitle

 作者：[ShinichiN](https://profiles.wordpress.org/shinichin/)

[下载](https://downloads.wordpress.org/plugin/subcontent.zip)

 * [详情](https://cn.wordpress.org/plugins/subcontent/#description)
 * [评价](https://cn.wordpress.org/plugins/subcontent/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/subcontent/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/subcontent/#developers)

 [支持](https://wordpress.org/support/plugin/subcontent/)

## 描述

Adds another text editor below the editor in your post/page/custom-post-type edit
page.

 * [GitHub](https://github.com/ShinichiNishikawa/subcontent)
 * [Plugin Homepage](http://nskw-style.com/2013/wordpress/plugin-downloads/subcontent.html)

#### Retriving and displaying in templates

Use `get_the_subcontent()` to retrieve and `the_subcontent()` to display.

#### Change label

By default the label of the input field is “Subtitle”. There’s a hook for changing
it.

    ```
    add_filter( 'nskw-sce-meta_label', 'nskw_changesubcontentlabel' );
    function nskw_changesubcontentlabel() {
        return 'Contact Information';
    }
    ```

#### Change the height of the editor

Default it’s 10.

    ```
    add_filter( 'nskw-sce-row', 'change_subcontent_row' );
    function change_subcontent_row() {
        return 20;
    }
    ```

#### Hide in particular post type

    ```
    add_filter( 'nskw-sce-post_type', 'nskw_hide_subcontent' );
    function nskw_hide_subcontent() {
        return array( 'page', 'newposttype' );
    }
    ```

#### Disable wpautop

    ```
    add_filter( 'nskw-sce-wpautop', 'nskw_change_wpautop' );
    function nskw_change_wpautop() {
        return false;
    }
    ```

#### No Media Uploader

    ```
    add_filter( 'nskw-sce-media_buttons', 'nskw_change_mediasetting' );
    function nskw_change_mediasetting() {
        return false;
    }
    ```

#### No tinymce

    ```
    add_filter( 'nskw-sce-tinymce', 'nskw_cange_tinymce' );
    function nskw_cange_tinymce() {
        return false;
    }
    ```

#### No shortcode rendering

    ```
    add_filter( 'nskw-sce-shortcode', '__return_false' );
    ```

## 安装

 1. Upload `subcontent` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Subtitle」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

[帮助将「Subtitle」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/subcontent)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/subcontent/)，查看[SVN仓库](https://plugins.svn.wordpress.org/subcontent/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/subcontent/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/subcontent/)。

## 更新日志

0.1 First Release.

0.2 Merged [dcondrey’s Pull Request](https://github.com/ShinichiNishikawa/subcontent/commit/2c53a44d1380fa8e271d353af29cf6c245df4406),
but changed the order of wpautop and do_shortcode.

## 额外信息

 *  版本 **0.2**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5.1 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/subcontent/)
 * 标签
 * [custom field](https://cn.wordpress.org/plugins/tags/custom-field/)[editor](https://cn.wordpress.org/plugins/tags/editor/)
   [wp_editor](https://cn.wordpress.org/plugins/tags/wp_editor/)
 *  [高级视图](https://cn.wordpress.org/plugins/subcontent/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/subcontent/reviews/)

## 贡献者

 *   [ ShinichiN ](https://profiles.wordpress.org/shinichin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/subcontent/)