Descrizione
Instant Breaking News or IBN,
will allow you to pin posts and feature them as “Breaking News” at the header of your website.
For a longer documentation check the Plugin GitHub repository here.
How it works ?
Instant Breaking News plugin will appear in your WP Dashboard menu once it’s activated.
You’ll find the plugin Options Page under the name Breaking News.
From the options page you’ll be able to change the “Breaking News” banner title, background and text colors.
You’ll also be able to preview the current pinned post and go to it’s edit page directly from here.
However if you haven’t pinned anything yet, you’ll be able to go to your Posts archive too!
Pinning your first post:
Once you choose which will be your first Breaking News post in its Edit screen you’ll find a newly created metabox under the name of Breaking News Options somewhere at the bottom of the Edit screen.
There you’ll find the following three options:
1. Make this post breaking news: Once checked it’ll pin your post and overwrite previously pinned posts. Sadly at version 1.0 you can have only one pinned post at a time.
2. Custom breaking news title: This setting allows you to choose a specific title for your post, which will be presented only in the Breaking News banner.
3. Set an expiration Date & Time: This option allows you to choose when the pinned post to disappear from your website automatically.
There is something that you should remember about the Expiring Pins functionality.
Instant Breaking News plugin automatically takes your server time and converts it to your WordPress Timezone.
That is extremely important to remember when setting the expiration date & time of your post, because if you pick a time which has already passed at your WordPress Timezone that post will be automatically unpinned in order to protect you from pinning expired posts. However if that happens don’t worry! Once you set the new date and time you’ll be able to re-pin it again, just by checking the Make this post breaking news option again.
Note:
This plugin will work with almost every standart WordPress theme.
If your template has unique structure, the plugin will need a bit of tweeking in order to run properly.
The change that’ll be required is at the /assets/scripts/public.js file.
You’ll have to specify where on your website you would like to attach the Breaking News banner through those two lines:
let $firstHeader = jQuery( "header" ).first(); jQuery( container ).insertAfter( $firstHeader );
That’s it, let’s start pinning!
Log:
- 1.1 – Update tested version of WP Core to 6.0.2
- 1.0 – Release
Installazione
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
Alternative:
Download and activate the plugin from WordPress.org or
clone the repository from GitHub – https://github.com/Gero0Nikolov/IBN-WordPress-Plugin –
to your wp-content/wp-plugins/ folder and activate it from the WordPress Dashboard after that.
Contributi e sviluppo
“Instant Breaking News” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
CollaboratoriTraduci “Instant Breaking News” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.