Instant Breaking News

설명

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

설치

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. 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.

후기

모든 1 평가 읽기

기여자 & 개발자

“Instant Breaking News”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Instant Breaking News”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.