Title: WP-webTicker
Author: gunglien
Published: <strong>2011 年 7 月 3 日</strong>
Last modified: 2011 年 9 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-webticker.svg)

# WP-webTicker

 作者：[gunglien](https://profiles.wordpress.org/gunglien/)

[下载](https://downloads.wordpress.org/plugin/wp-webticker.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-webticker/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-webticker/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-webticker/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-webticker/#developers)

 [支持](https://wordpress.org/support/plugin/wp-webticker/)

## 描述

wp-webticker is a plugin that provides shortcode functionality to use the jQuery
webTicker.

The jQuery webTicker is a jQuery plugin that creates a ticker effect where posts
slide from one side to another in a particular order
 once the last item goes outside
of the visible area it is queued back so that it will appear when the list finishes.
The ticker can be used to show the users the latest posts in your blog/website without
having space consuming widgets on the sidebars.

This makes creating web tickers on your wordpress blog quite easily. You can either
use the shortcode in Advanced Text
 widget plugin; or else include it in a post/
page or in the template itself using do_shortcode.

Further information and an example can be found on the official [wp-webticker page](http://jonmifsud.com/web-tools/wp-webticker/).

## 安装

This section describes how to install the plugin and get it working.

e.g.

 1. Upload `wp-webticker` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add ticker styling in your CSS
 4. Place `<?php do_shortcode('[webticker]'); ?>` in your templates or [webticker] 
    in your posts/pages

#### CSS Styling

 * you need to style your wp-webticker plugin in your style.css example

.tickeroverlay-left{
 background-image:url(‘left.png’); display:block; pointer-events:
none; position:absolute; z-index:30; height:12px; width:150px; top:0; left:-2px;}

.tickeroverlay-right{
 background-image:url(‘right.png’); display:block; pointer-
events:none; position:absolute; z-index:30; height:12px; width:150px; top:0; right:-
2px; }

.tickercontainer { // the outer div
 background: #7a7a7a; width: 738px; height: 
27px; margin: 0; padding: 0; overflow: hidden; }

.tickercontainer .mask { // that serves as a mask. so you get a sort of padding 
both left and right
 position: relative; padding-left: 10px; padding-right: 10px;
top: 8px; height: 18px; overflow: hidden; }

ul.newsticker {
 position: relative; margin-left: 20px; font: bold 10px Verdana;
list-style-type: none; margin: 0; padding: 0; }

ul.newsticker li {
 float: left; // important so they rotate properly margin: 0;
padding-right: 15px; }

ul.newsticker a {
 white-space: nowrap; padding: 0; color: #ff0000; font: bold 10px
Verdana; margin: 0 50px 0 0; }

ul.newsticker span {
 margin: 0 10px 0 0; }

#### How to use

Add the following shortcode in your post/page)

[webticker num=”3″ category=”1,3″ id=”webticker”, direction=”1″, speed=”0.05″ ]

If used in a template please include the shortcode function

do_shortcode(‘[webticker num=”3″ category=”1,3″ id=”webticker”, direction=”1″, speed
=”0.05″, link=”yes” ]’);

 * num – your total number of post to display. default is 10
 * category – category id. use comma , for multiple id
 * orderby – your post will order by . default post_date . check https://codex.wordpress.
   org/Template_Tags/get_posts for detail
 * id – the id that you would like to give to the webticker list (has to be used
   when running multiple tickers on same page)
 * speed – the speed should be in the domain of 0 – 1
 * direction – 1 = left to right; and -1 = right to left.
 * link – yes = link back to author site; hide = hide link; no = remove link completely.
 * If you remove the link it would be appriciated if you write something about this
   plugin.

## 常见问题

  Ticker does not work after adding shortcode

Check that you have included the required CSS styling for the ticker to be able 
to work properly – see installation

  I Have a problem not listed here

Kindly contact the author on info@jonmifsud.com and I will promptly reply and help
you out where possible.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP-webTicker」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gunglien ](https://profiles.wordpress.org/gunglien/)

[帮助将「WP-webTicker」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-webticker)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-webticker/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-webticker/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-webticker/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-webticker/)。

## 更新日志

#### 1.1

 * Updated to version 1.1
 * Updated readme.txt

#### 1.0

 * Added version 1.0
 * Added readme.txt

## 额外信息

 *  版本 **1.1**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-webticker/)
 * 标签
 * [marquee](https://cn.wordpress.org/plugins/tags/marquee/)[rotating](https://cn.wordpress.org/plugins/tags/rotating/)
   [ticker](https://cn.wordpress.org/plugins/tags/ticker/)[webticker](https://cn.wordpress.org/plugins/tags/webticker/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-webticker/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-webticker/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-webticker/reviews/)

## 贡献者

 *   [ gunglien ](https://profiles.wordpress.org/gunglien/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-webticker/)