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

Family Friendly

描述

The family friendly plugin allows you to to filter your wordpress site to cater to different age groups. For example if your site contains some posts featuring
adult humour or profanity, family friendly allows you to present a ‘pg’ or ‘u’ version to younger users of the site. It also allows users to view the site safely at work, or in a public environment.

安装

It is recommended that you fully back up your site before attempting to add a new plugin.

Copy the plugin folder, named ‘family-friendly’ to the plugins folder of your WordPress installation, located at wp-content/plugins.

Next have a look in the settings section of your WordPress admin panel. You should see Family Friendly listed. Click this to adjust the words filtered by
family friendly at the ‘u’, ‘pg’ and ’18’ levels.

If a user selects the ‘u’ level, the plugin will filter posts using the words at the ‘u’, ‘pg’ and ’18’ levels. Selecting the ‘pg’ level will ignore ‘u’ level
words, but use words in the ‘pg’ and ’18’ levels. Selecting the ’18’ level uses just the words in the ’18’ level. These are effectively always banned.
Posts, post titles and comments are filtered.

Posts are filtered for normal users only. They are not filtered for admin use
and will all still be fully visible within the admin area.

You can choose which settings to make available to users via the widget.
You can also choose to hide the widget from users should you wish by changing
the appropriate setting.

To change the images used for the level settings, replace the images in the
family-friendly/img folder with others of your choice. Ideally these should
closely match the size and aspect ratio of the original images, or be resized
as needed.

Adding the Widget

Family friendly allows users to select filtering levels via a widget. To add the widget to your page, first look at the appearance section of the WordPress
admin panel. Select widgets from the options available. On the left half of the screen you should see Family Friendly listed among the available widgets. On the
right of the screen should be titles of the areas of the page which use widgets.
To add the Family Friendly widget, drag it from the left of the screen to the area on the right you wish to add it to. If there are multiple widgets in this
area, you can drag it up or down to fine tune its position relative to other widgets. After doing this, you should now be able to see the widget on your
main page (after refreshing).

Once the widget has been added, users can select the levels to filter the site according to their preference.

常见问题

Q: Can I email the developer if I have a question?
A: Yes, but no promises: app@jameskonik.com

评价

此插件暂无评价。

贡献者及开发者

“Family Friendly” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Family Friendly”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.03

  • various prefixes lengthened to improve compatibility
  • readme updated for wordpress.org compliance

1.02

  • changed urls to use plugins_url function
  • improved security for get requests

1.01

  • Descriptions in files updated

1.0

  • First working version