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

JM Breaking News

外掛說明

The JM Breaking News Plugin allows you to display a breaking news banner with custom text and a custom link for as long as you want anywhere on the site.

螢幕擷圖

  • The editor screen to add breaking news.
  • The breaking news banner in action on the web site.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Breaking News Post A breaking news banner you can add to your website.

安裝方式

To have WordPress download and install the plugin, go to the WordPress dashboard, click “Plugins”, click “Add New” and search for “JM Breaking News” and click “Install.” To manually download and install the plugin, download the plugin, either from the plugin site or the plugin’s page from the Plugin Directory. The in the WordPress dashboard, go to “Plugins” then “Add New” then “Upload Plugin” and upload the plugin’s zip file.

Once the plugin has been uploaded and activated, add the following code into your theme where you want it to be shown.

The banner has a width of 100%, so it will fit into any size container; however, the best use for the banner is to have it in the header.

使用者評論

2017 年 8 月 9 日 1 則留言
It's a pity, it is the plugin voucher that could be useful for many site, but I do not find it easy to use and not customizable. It will not have stayed for a long time on the site.
2017 年 7 月 26 日 2 則留言
The new version of the plugin (1.8.1) its working very good! Nice and easy to use. Thanx Jacob, you are the best 🙂
2016 年 9 月 3 日 1 則留言
Gave me a an error message on white screen. Had to remove plugin through cpanel. BEWARE!
閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

2.1

  • Update the block to use the block.json file and other new features.

2.0

  • Refactor the entire plugin to use an object-oriented programming paradigm.
  • Upped the lowest PHP version supported to 7.0.
  • Tested to work with WordPress 5.7.1.

1.9.2

  • Actually fixed issue with is_plugin_active function not being called correctly.

1.9.1

  • Fixed issue with is_plugin_active function not being called correctly.

= 1.9=
– Added Gutenberg block to show the breaking news banner in a post.
– Switched the CSS to use flexbox for better display of the banner.
– Added a Gulp process for better export of the plugin.
– Tested with WordPress 5.3.

1.8.2

Tested with WordPress 4.9.

1.8.1

  • Changed to load internal posts to link over to the WP REST API to avoid fatal errors.
  • Changed required WordPress version to 4.7.

1.8

  • Added color options for the background of the body section and the text.
  • Tested to work with WordPress 4.8.

1.7

  • Tested to work with WordPress 4.7.

1.6

  • Added: Breaking News shortcode to put a breaking news banner inside a post.
  • Tested to work with WordPress 4.6.

1.5

  • Added: Breaking News widget that allows users to display the breaking news banner in the sidebar.
  • Added: Translations for French, German, Italian, Russian and Spanish.
  • Tested to work with WordPress 4.5.

1.4

  • Added option to change background color of “Breaking News” half of the banner.
  • Tested to work with WordPress 4.4

1.3.1

  • Removed ‘http:’ from the functions to enqueue the Google fonts

1.3

  • Tested to work with WordPress 4.3
  • Fixed vertical margin for “Breaking News” text to even it out.
  • Added a line-height of 1.2 for text on the right side to even it out.

1.2.1

  • Fixes: Issue with the JavaScript file for the breaking news post type admin area not being included in the plugin.

1.2

  • Added: Option for users to select whether the link will be internal or external.
  • Added: A select option of posts for the user to select if it’s an internal link.

1.1

  • Added: default value of 1 for the time limit.
  • Added: wp_reset_query at the end of the jm_breaking_news function to keep the banner from interfering with the page query.
  • Changed: the left side font to Oswald.
  • Changed: the right side font to Lato.
  • Changed: the left side background to #C42B2B.
  • Changed: the right side background to #252525.

1.0

  • Initial Release