WordPress 添加滚动公告栏

  categories:wordpress  author:

想为你的博客添加滚动公告栏,不妨试试 Continuous announcement scroller (以下简称 CAS)或 News announcement scroll(以下简称 NAS)。两者都可以添加一个滚动公告,支持设置滚动间隔时间、排序等,可以通过小工具或php函数调用。不同的是,CAS是连续滚动显示多条公告(目前不支持设置公告过期时间),NAS每次只滚动一条(支持设置公告过期时间)。

 

Continuous announcement scroller wordpress plugin create an announcement widget in the website, it’s not a simply message display instead the message will scroll vertically from bottom to top like roller and many message display at the same time. This plugin will support multilingual content. There is separate text management page available in the dashboard to add the announcement content.

Features of this plugin

    Easy installation.
    Widgets, so you can add pretty much anything.
    Easy scroller setting.
    We can arrange the message order easily.
    We can disable the message temporary.
    Display many message at a same time.

    See live demo on sidebar; Do you want to scroll the rss feed instead of own content? use continuous rss scrolling wordpress plugin.

Installation instruction

Method 1

    Download the plugin continuous-announcement-scroller.zip from download location.
    Unpack the continuous-announcement-scroller.zip file
    Extract the /continuous-announcement-scroller/ folder.
    Drop the continuous-announcement-scroller folder into your ‘wp-content/plugins’ folder.
    In word press administration panels, click on plug-in from the menu.
    You should see your new continuous announcement scroller plug-in listed.
    To turn the word presses plug-in on, click activate.

Method 2

    Go to ‘add new’ menu under ‘plugins’ tab in your word-press admin.
    Search continuous announcement scroller plugin using search option.
    Find the plugin and click ‘Install Now’ link.
    Finally click activate plug-in link to activate the plug-in.

Method 3

    Download the plugin continuous-announcement-scroller.zip from download location.
    Go to ‘add new’ menu under ‘plugins’ tab in your word press admin.
    Select upload link (top link menu).
    Upload the available continuous-announcement-scroller.zip file and click install now.
    Finally click activate plug-in link to activate the plug-in.

Plugin configuration

Option – 1 : Go to widget link under Appearance tab, Drag & drop continuous announcement scroller widget into your side bar.

Option – 2 : Copy and paste the below mentioned code in desired template location ie your PHP theme file.

<?php if (function_exists (cas)) cas(); ?>

 

下面分别为 CAS 和 NAS 的小工具演示:

image

 

image

 

 

在后台插件安装界面分别搜索两个插件的名字就可以在线安装,或者下载 CASNAS   。两个插件后台都是英文的(不支持语言包汉化)

News announcement scroll wordpress plug-in create a vertical scroll news widget for your wordpress website, This is same as announcement and vertical scroll news wordpress plugin. announcement and vertical scroll news wordpress plugin disappeared suddenly from wordpress directory, so i have created the same plugin with different name. This is very easy to use, no coding knowledge required to customize this plugin. after activated the plugin, drag and drop the widget into the sidebar.

Features of this plugin

    Easy installation.
    Widgets, so you can add pretty much anything.
    Easy style-override system.
    Expiration date setup.
    You can add N number of news; it will scroll one by one at front end (vertical scrolling).
    You can arrange the scrolling news order. Also you can customize the scroll direction.
    If you want, you can hide the news temporarily.
    Short code available for pages and posts.

    If any problems occur after plugin upgrade from version 1 to version 2 just deactivate the plugin and activate it again. Go to widget menu and drag and drop the plugin widget into your sidebar.

See live demo on sidebar. Now short code available to add plugin. now we can add this scrolling into pages and posts. if you want to display continuous scrolling use continuous announcement scroller plugin.

To configure

    Go to News Announcement link under setting menu to add/edit/delete the announcement.
    Go to widget link under appearance menu, Drag & drop news announcement widget to your desired location in the active sidebar.
    Go to news announcement link under setting menu and click setting page link here you can customize all the announcement front end styles.

Installation Instruction

Method 1

    Download the plugin news-announcement-scroll.zip from download location.
    Unpack the news-announcement-scroll.zip file
    Extract the /news-announcement-scroll/ folder.
    Drop the news-announcement-scroll folder into your ‘wp-content/plugins’ folder.
    In word press administration panels, click on plug-in from the menu.
    You should see your new news announcement scroll plug-in listed.
    To turn the word presses plug-in on, click activate.

Method 2

    Go to ‘add new’ menu under ‘plugins’ tab in your word-press admin.
    Search news announcement scroll plugin using search option.
    Find the plugin and click ‘Install Now’ link.
    Finally click activate plug-in link to activate the plug-in.

Method 3

    Download the plugin news-announcement-scroll.zip from download location.
    Go to ‘add new’ menu under ‘plugins’ tab in your word press admin.
    Select upload link (top link menu).
    Upload the available news-announcement-scroll.zip file and click install now.
    Finally click activate plug-in link to activate the plug-in.

Plugin configuration

Drag and drop the widget: Go to widget page under appearance tab, drag and drop News announcement scroll widget into your side bar. It’s very easy.

Add directly in the theme: Use this code, <?php if (function_exists (news_announcement)) news_announcement(); ?> to add the plugin to your theme files.

Add the news in the posts or pages: Copy and paste the given short code into pages or posts.

Short code from version 2.0 to 5.0

[NEWS:TYPE=widget]

Short code from version 6.0 onwards

[news-announcement type="widget"]



快乐成长 每天进步一点点      京ICP备18032580号-1