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

AWSOM News Announcement

外掛說明

AWSOM News Announcement allows you to post news announcements in the area above your posts (or anywhere else you want) and edit it using the Visual Editor or code editor, all from the WordPress admin area. You can select who sees your posts (only non-registered people, or whatever level of registered user for your site) so you can keep certain things for only people who are members, or you can show ads only to non-registered visitors. You can now also run php code from the news area, so audio or video players can now be run without any other plugin. You can now add the news area to a post or page and also run php code there. You can set start and end dates for all news posts. The Plugin is now fully XHTML compliant.
Part of the www.AWSOM.org series of WordPress Plugins developed by Harknell

Upgrading From Previous Version

Upgrade instructions for users of AWSOM News 1.02

To upgrade the AWSOM News Announcement plugin from 1.0.2 to the new version do the following steps in order:

1) Go to your Admin Plugins area and deactivate the previous AWSOM News Announcement plugin.
2) Delete the awsomnews plugin folder from the wp-content/plugin directory.
3) unzip the new AWSOM News Announcement zip file and move the contents to your wp-content/plugins folder
4) Go to your Admin Plugins area and activate the new AWSOM News Announcement plugin.
5) You have 2 options at this point: If you previously used the Theme file tag to display your News Announcement and don’t want to change
things then turn the option “Place the News Announcement On Index Page above Posts” to off.
6) OR If you want to remove the now unnecessary Theme edits that version 1.0.2 required go into your theme index.php file
(or wherever you may have added the code) and delete:

from your theme file. Make sure that you then turn the option “Place the News Announcement On Index Page above Posts” to Yes.

To upgrade from 1.1.0 – 1.4.7 to new version

1) deactivate the current Awsom News plugin from the admin Plugin menu.
2) Delete the current Awsom News folder from the wp-content/plugins folder.
3) Move the new folder to the wp-content/plugins folder.
4) Activate the plugin from the Admin Plugins menu.
5) Make sure the settings in the Write/Posts–> Awsom News menu are set correctly for your set up.

螢幕擷圖

  • The News Input Area, showing usage of the Visual Editor.
  • The General Options Area, showing the run php settings, management level selector, and other options
  • The Listing of your current news posts, showing who will see them and what order they are displayed.

安裝方式

To Install:

Copy the plugin folder into your WordPress plugin directory. Activate the plugin from the plugin interface. If you would like to place the News Announcement in an area other than at the top of your posts add the following lines to your theme file where you want the announcement to appear:

<!– Start AWSOM News Announcement Block –>
<div id=”announcement”>
<?php if (function_exists(‘display_my_news_announcement’)) { display_my_news_announcement(0); } ?>
</div>
<!– End AWSOM News Announcement Block –>

or you can add the code %%awsomnews0%% to any post or page to have the news block appear there. If you turn on active php you
can use the news block to add different video or audio players or any plugin that needs php code to run.

You will then want to turn the option “Place the News Announcement On Index Page above Posts” to off in the Write/Posts-> Awsom News area.
You can choose to use the Visual editor or directly add HTML code. If you wish to switch between editor types you need to switch the setting
and update the news post, then refresh the page again to have the editor reload properly.

For updates or support please go to http://www.awsom.org

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AWSOM News Announcement〉的開發相關工作。

參與者

將〈AWSOM News Announcement〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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