JM Breaking News
Author: Jacob Martella
Contributors: arenapigskin
Version: 1.8

Display a breaking news banner for a selected amount of time anywhere on your site.

1.0 rating based on 1 rating
Downloads: 10880
Last Updated: Jun 7, 2017

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.

Details

Tags: breaking news, banner
Requires at least: 4.0
Tested up to: 4.8
Stable tag: 1.8

How To's

Installation

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.

<?php
if (function_exists('jm_breaking_news')) {
 echo jm_breaking_news();
} ?>

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.

Donate

Donate

If you like this item, please consider giving a donation to support other WordPress themes and plugins like this. Thank you!

$

Donation Amount

Personal Info

Donation Total: $10

Other Documentation

Changelog

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

  • 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

License

License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html

Get In Contact

If you have a question, need to report a bug to be fixed or have a feature request for a future version, email me at jacob.martella@att.net or fill out the form below.

Recent Updates

A new year and new WordPress resolutions for 2016

This past year was quite the success for me and developing in WordPress. I got my first theme, Nuovo, into the WordPress Theme Directory. That was followed a couple of months later by Giornalismo, and Fotographia has been submitted for review. I began developing WordPress Plugins, with a total of four in the directory now (although one is a functionality plugin for Giornalismo).

Read This Post

JM Breaking News plugin added to WordPress plugin directory

Yesterday I announced that I had submitted a breaking news banner plugin to the WordPress Plugin Directory. A few hours after that post went up, I got the news that JM Breaking News had been accepted into the plugin directory.

Read This Post

Diving into the realm of plugins

After succeeding in getting a theme into the WordPress Theme Directory, I’m trying my hand at doing the same with plugins.

Read This Post
View All

Other WordPress Plugins & Themes

View All

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match