Linux 软件免费装

WP-webTicker

开发者 gunglien
更新时间 2011年9月17日 16:44
PHP版本: 3.0 及以上
WordPress版本: 3.1.4

标签

ticker marquee rotating 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.

安装:

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 .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" ]'); If you remove the link it would be appriciated if you write something about this plugin.

升级注意事项:

1.1 Minor fixes and added a link back to author option. 1.0 First public version of wp-webticker - uses more stable jQuery webTicker v1.3

常见问题:

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.

更新日志:

1.1 1.0