這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈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