Title: Simple Post Inserter
Author: tljorgensen
Published: <strong>2019 年 10 月 20 日</strong>
Last modified: 2019 年 10 月 25 日

---

搜索插件

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

![](https://ps.w.org/simple-post-inserter/assets/icon-256x256.png?rev=2176566)

# Simple Post Inserter

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

[下载](https://downloads.wordpress.org/plugin/simple-post-inserter.zip)

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

 [支持](https://wordpress.org/support/plugin/simple-post-inserter/)

## 描述

Simple Post Inserter takes various inputs through the settings page and determines
three things:

The content you wish to display in your posts, could be plain text, could be some
HTML code.
 By default the admin of the site is responsible for any of the content
submitted.

The location where the content should be displayed within the post.

Post restrictions. By default if no other setting but the content and location are
declared,
 the plugin will insert the content in all of the posts available on the
site. This may not be what you desire, but you can filter by post type, category,
and ID.

Currently the only parameter for placement inside the posts is based off of total
paragraphs in a post.
 This will likely change in a future update to something a
little more sensible such as: lines of text or character counts.

## 屏幕截图

 * [[

## 安装

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

Can be set up by going to Settings(in the admin panel) -> Simple Post Inserter.

## 常见问题

  What are some of the use cases for Simple Post Inserter?

A. Simple Post Inserter by nature is designed to be flexible. This means that the
admin will have complete
 control over what is displayed. This could be just some
text or some html containing an embedded video. It is up to the discretion of the
admin.

  Can I style my embedded HTML?

A. Yes, styling can be done through inserting an inline style script with the HTML
or by using already defined elements
 within your theme. If you are the sits developer
you can declare the class, label of the element inside the settings page and retroactively
add the style into your style.css file.

  My content is not displaying where I requested it to show, what is wrong?

A. The display filters for Simple Post Inserter follow a general hierarchy. If a
post ID is entered into the settings
 it will ignore your filters for post type 
and categories and only apply to that post ID. Then the category will be checked,
then the post type.

    ```
    In addition there should be error messages thrown if you enter an invalid slug into one of the filters. This will not stop the
    plugin from working, but the filter will be ignored. 

    If your content is still not displaying and you are unsure why. Submit a ticket to the developer through [contact](https://codexi.io/contact)
    ```

  Can I add multiple inserts per post?

A. At this time, no that is not possible with this plugin. It may or may not be 
implemented in the future.

  How do I insert my content to the top or bottom of a post?

A. Use the insert paragraph setting. Set the value to 0 to put it on top of all 
of the post paragraphs.
 Set the value to a high number, that exceeds the total 
amount of paragraphs in any of your posts to put it at the bottom. i.e. “999” should
be a large enough number to put it on the bottom of most if not all posts (assuming
you do not have very long content).

  The middle option isn’t working correctly, what is wrong?

A. The middle option counts all the paragraph tags in the post. Sometimes there 
are paragraph tags that are empty for whatever reason.
 Go to the page and inspect
it to see all the paragraph tags and what they are holding, you may find paragraphs
that are holding nothing.

    ```
    The middle option also does not account for the length of each paragraph, or other pieces of content such as images, headings, etc.
    Which will likely make it seem that the content you inserted isn't directly balanced in the middle. There may or may not be future updates
    to balance based of other parameters, such as character count.

    Lastly, for posts with odd numbered amounts of paragraphs the content will have a tendency toward the bottom based on the rounding used.
    For example a post with 7 paragraphs will have 4 on the top of your content and 3 on the bottom.
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Simple Post Inserter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-post-inserter)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Released

## 额外信息

 *  版本 **1.0**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-post-inserter/)
 * 标签
 * [ads](https://cn.wordpress.org/plugins/tags/ads/)[content](https://cn.wordpress.org/plugins/tags/content/)
   [embed](https://cn.wordpress.org/plugins/tags/embed/)[insert](https://cn.wordpress.org/plugins/tags/insert/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-post-inserter/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/simple-post-inserter/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/simple-post-inserter/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EVLK2BEHS59T4&source=url)