Linux 软件免费装

BNS Inline Asides

开发者 cais
更新时间 2018年7月25日 02:36
捐献地址: 去捐款
PHP版本: 3.6 及以上
WordPress版本: 4.9
版权: GNU General Public License v2
版权网址: 版权信息

标签

posts pages shortcode content plugin-only

下载

0.1 0.2 0.3 0.4 0.4.1 0.5 0.6 0.6.1 0.6.2 0.7 0.8 0.8.1 0.9 1.0 1.0.1 1.0.2 1.0.3 1.1 1.2 1.3 1.3.1 1.3.2

详情介绍:

Have you ever wanted to add a personal comment into the body of a post or page and have it stand out from the rest of the content? Have you really wanted to throw a rant in a review because the subject just really got under your skin but you don't want to dramatically disrupt the content? This plugin will allow you to style sections of the post, or page, content with a shortcode that can add more emphasis by leveraging a style element from the active theme. These asides can be left open as part of the content flow; or these asides can be closed to leave your readers the option of opening them if they choose to.

安装:

This section describes how to install the plugin and get it working.
  1. Go to the "Plugins" menu in the Administration Panels ("dashboard").
  2. Click the 'Add New' link.
  3. Click the "Upload" link.
  4. Browse for the bns-inline-asides.zip file on your computer; upload; and, install accordingly.
  5. Activate.
-- or -
  1. Go to the "Plugins" menu in the Administration Panels ("dashboard").
  2. Click the 'Add New' link.
  3. Search for BNS Inline Asides.
  4. Install.
  5. Activate.
Please read this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/ 用法 This plugin makes use of WordPress Shortcode API (additional information can be found in the codex here: http://codex.wordpress.org/Shortcode_API) The basic shortcode usage is [aside]CONTENT[/aside]. The default values of the shortcode are type: aside; and, status: open. To use the [aside] shortcode and have it initially "closed" any status other than "open" will work as the plugin will change the status to "closed" if it is not equal to "open". The pre-defined aside types currently included: See the frequently asked questions section for how to add your own custom type.

屏幕截图:

  • Sample using pre-defined aside Note (open).
  • Sample using pre-defined aside Note (closed).
  • Sample using pre-defined aside Rant (closed).
  • Sample using pre-defined aside Rant (open).

升级注意事项:

Please stay current with your WordPress installation, your active theme, and your plugins.

其他记录:

Copyright 2011-2018 Edward Caissie (email : edward.caissie@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. You may NOT assume that you can use any other version of the GPL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA The license for this software can also likely be found here: http://www.gnu.org/licenses/gpl-2.0.html 鸣谢 Credits for jQuery assistance: Trevor Mills www.topquarkproductions.ca Screenshots Source Content Sample content taken from the "Readability" post of the Theme Unit Test data found here: http://codex.wordpress.org/Theme_Unit_Test used with the default Twenty Ten Theme.

常见问题:

Are there any GDPR relevant concerns when using this plugin?

We are not aware of any concerns as they pertain to the GDPR.

Why doesn't the "Rant" type work with the "H" tags?

Not all possible combinations of existing BNS Inline Aside types have been set as defaults. Please feel free to add the bns-inline-asides-custom-stylesheet.css option and create your own combinations ... ... and let us know about them. We would be very happy to consider adding them as defaults.

How can I style the plugin output?

To add your own custom aside type styles you might consider creating a new stylesheet in this plugin's folder using the name: bnsia-custom-types.css The plugin will create a class name from the custom aside type you use in your shortcode. For example, [aside type="bacon"] will generate these classes you can style:

  • .open-aside.bacon
  • .close-aside.bacon
  • .bnsia.aside.bacon
  • blockquote.aside.bacon
This method can also be used to over-write the Pre-Defined Aside Types styles as the bnsia-custom-types.css file loads after the main stylesheet. The bnsia-custom-types.css stylesheet should not be over-written by updates.

How do I use the 'show' and 'hide' parameters?

If you do not want to use the default 'show' and 'hide' parameters, you can change them to your own preference in each instance of the shortcode. If you want your aside type to be dynamically inserted into the message simply use the %s placeholder in your custom message. Here are some examples:

  • [aside type="bacon" show="Want to see my <em>%s</em>?" status="closed"]
  • [aside type="soup" hide="No %s for you!"]

更新日志:

1.3.2 1.3.1 1.3 1.2 1.1 1.0.3 1.0.2 1.0.1 1.0 0.9 0.8.1 0.8 0.7 0.6.2 0.6 0.5 0.4.1 0.4 0.3 0.2 0.1