這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Advanced Text Widget

外掛說明

Advanced Text Widget is a text widget that allows you to execute raw PHP code and specify on which pages it should be displayed. It comes with 10 default visibility conditions. You can edit and/or add your own visibility conditions as well. Conditions support arguments which could be strings and/or arrays.

Features:

  • 10 Default widget visibility conditions with over 20 application possibilities.
  • Add unlimited custom conditions.
  • “Advanced Text” widget with raw PHP support and shortcodes execution.

PRO Version:

  • Apply visibility conditions to ANY widget.
  • Add custom CSS IDs/Classes to ANY widget.
  • Import/Export your visibility conditions to re-use on other sites.

Check out PRO Version

Credits:

安裝方式

Install like any other basic plugin:

  1. Copy the advanced-text-widget folder to your /wp-content/plugins/ folder

  2. Activate the Advanced Text Widget on your plugin-page.

  3. Drag the Advanced Text Widget to your sidebar and add your own content including php code if needed. Optionally specify whether to display only on home, pages, posts, posts in category (-ies) or category archives. Specify even more if you like with slug/ID/title.

The plugins settings are located under Settings => ATW Plugin. From there you can edit/add visibility conditions as well as opt-out from applying conditions to all widgets.

Notes:

  • When selecting to show widget on Home page – it will show up on the Blog’s index (main) page. If you have a static front page where you would like to show your widget, select the Front page option.

常見問題集

Installation Instructions

Install like any other basic plugin:

  1. Copy the advanced-text-widget folder to your /wp-content/plugins/ folder

  2. Activate the Advanced Text Widget on your plugin-page.

  3. Drag the Advanced Text Widget to your sidebar and add your own content including php code if needed. Optionally specify whether to display only on home, pages, posts, posts in category (-ies) or category archives. Specify even more if you like with slug/ID/title.

The plugins settings are located under Settings => ATW Plugin. From there you can edit/add visibility conditions as well as opt-out from applying conditions to all widgets.

Notes:

  • When selecting to show widget on Home page – it will show up on the Blog’s index (main) page. If you have a static front page where you would like to show your widget, select the Front page option.

使用者評論

2017 年 10 月 25 日
2nd EDIT: The plugin has now been updated, so my original review stands. 1st EDIT: Even though this was a great plugin in its day, it hasn't been updated in over 2 years and was flagged as vulnerable to attack when I ran WPScan. I therefore can't recommend it for now. Original review: Can't imagine building a WordPress site without this, it's normally the first plugin one I install. Makes adding custom content to sidebars on a per-page basis an absolute breeze. Very flexible, you can type PHP and shortcodes in the text area and it displays whatever you want. A must have for any WordPress site developer.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Advanced Text Widget〉的開發相關工作。

參與者

將〈Advanced Text Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1.2

  • Fixes use of a deprecated function in PHP 7.2.

2.1.1

  • Fixes a fatal error.

2.1.0

  • WP 4.8.2 compatibility update.

2.0.10

  • WP 4.3. compatibility update.

2.0.9

  • WP 4.1. compatibility update.

2.0.8

  • Added settings reset button.

2.0.7

  • Fixed: default settings weren’t getting imported on initial plugin activation.

2.0.6

  • Added support for [embed] shortcodes.
  • Updated deprecated functions usage and removed php notices.

2.0.5

  • WP 3.9 compatibility update.

2.0.4

  • Bug Fix: after plugin activation existing widgets had to be re-saved, otherwise they were displayed with default settings. No data loss there – just the output issue.

2.0.3

  • Changed widget’s content filter to atw_widget_content instead of the default widget_text.
  • Bug Fix: atw shortcode filter wasn’t using the right handle.

2.0.2

  • Updated all get method operations with esc_attr() to improve security.

2.0.1

  • Fix for possible security vulnerability.