外掛說明
This plugin will help you display a news feed from EuropaFM, a Romanian music radio station. You can choose from the various news categories available.
A default CSS stylesheet is provided, but you can turn all styles off and use your own styling to match your website. No javascript is loaded, so there is very little chance of conflict with other plugins or your main template.
News articles are retrieved on page load (no AJAX for now) from the official EuropaFM website (www.europafm.ro) via RSS feed.
You can place the module anywhere on your website using the included widget and the shortcode “[europafm-news]”.
Parameters for the widget are as follows:
* title
* title-container (div,h1,h2,h3 or h4)
* source (stiri, stiri-interne, stiri-locale, stiri-externe, stiri-din-muzica, life, sport, trafic)
* limit (0 to 10)
* hide-date (1 to hide the date)
* hide-excerpt (1 to hide the excerpt)
* hide-credits (1 to hide the credits)
* hide-images (1 to hide the images)
* use-css (0 to disable the default CSS styles – if you want to write your own style)
* style (‘default’ or ‘red’ – the two included graphic styles for the widget)
* font-size (font size in pixels)
* excerpt-length (lenth of the excerpt in number of letters)
To use parameters with the shortcode follow the typical pattern for shortcodes: [europafm-news title=”News Widget” source=”stiri-interne” limit=”10″ hide-date=”1″ style=”red”]
All code is provided under the MIT license, you\’re free to re-use re-write it. Please provide a link to the original plugin if it helped you.
螢幕擷圖
安裝方式
Install via the WordPress plugin installer as a ZIP or via the web interface. Settings can be found within the widget itself.
This plugin requires PHP 5+
常見問題集
- Installation Instructions
-
Install via the WordPress plugin installer as a ZIP or via the web interface. Settings can be found within the widget itself.
This plugin requires PHP 5+
使用者評論
參與者及開發者
變更記錄
0.6.1
Release Date – 09 January 2017
- Update logos and colors to reflect new Europa FM branding
0.6
Release Date – 16 October 2017
- Initial public release for testing