PJ News Ticker

Description

PJ News Ticker is a small plugin that shows your most recent posts in a marquee style.

You can embed the news ticker anywhere you like using shortcodes.

Screenshots

  • How it looks
  • Settings

Installation

  1. Upload the plugin files to the /wp-content/plugins/pj-news-ticker 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->PJ News Ticker screen to configure the plugin defaults
  4. Use the shortcode in your page, post, or widgets

Shortcode instructions:

Using default settings:
[pj-news-ticker]

Customise:

[pj-news-ticker

  • num_posts=”5″ – Defaults to showing 5 most recent posts, use “-1” for all matching posts
  • post_cat=”slug” – Choose the slug of a category to limit the posts, use “0” for all categories (default)
  • show_label=”true” – “true” or “false”, to show a label for the News Ticker
  • label_text=”Latest Posts” – If a label is shown, what text to use
  • label_text_colour=”#ffffff” – If a label is shown, what colour is the text
  • label_bg_colour=”#1e73be” – If a label is shown, what colour is the background
  • ticker_bg_colour=”#ffffff” – What colour is the background for the ticker
  • no_content_text=”No matching posts” – The text to display if no matching posts are found
  • show_excerpt=”false” – “true” or “false”, to show the excerpt for each post
  • speed=”100″ – The speed in pixels per second
  • size=”100%” – The font size, can be in em, px, or %
  • target=”_self” – The target for the links, can be _self or _blank

]

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/pj-news-ticker 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->PJ News Ticker screen to configure the plugin defaults
  4. Use the shortcode in your page, post, or widgets

Shortcode instructions:

Using default settings:
[pj-news-ticker]

Customise:

[pj-news-ticker

  • num_posts=”5″ – Defaults to showing 5 most recent posts, use “-1” for all matching posts
  • post_cat=”slug” – Choose the slug of a category to limit the posts, use “0” for all categories (default)
  • show_label=”true” – “true” or “false”, to show a label for the News Ticker
  • label_text=”Latest Posts” – If a label is shown, what text to use
  • label_text_colour=”#ffffff” – If a label is shown, what colour is the text
  • label_bg_colour=”#1e73be” – If a label is shown, what colour is the background
  • ticker_bg_colour=”#ffffff” – What colour is the background for the ticker
  • no_content_text=”No matching posts” – The text to display if no matching posts are found
  • show_excerpt=”false” – “true” or “false”, to show the excerpt for each post
  • speed=”100″ – The speed in pixels per second
  • size=”100%” – The font size, can be in em, px, or %
  • target=”_self” – The target for the links, can be _self or _blank

]

How to add this to your site

The easiest way is just to add a page and use the shortcode.

If you want to add this somewhere else on your site, like header, footer, sidebar, etc, then probably the easiest way is to go to Appearance, Widgets, and place a text widget somewhere in your layout, and use the shortcode in that. For this to work, you will need to use a plugin that will enable shortcodes in widgets. This is handy to have, not just for this plugin but for all your plugins. Do a google search, you will find plenty of resources explaining how to achieve this. Good luck!

Reviews

Works Well

This was exactly what I was looking for to show a client’s post in a clean news ticker format. The only suggestion would be providing the ability to adjust the timing.

Read all 2 reviews

Contributors & Developers

“PJ News Ticker” is open source software. The following people have contributed to this plugin.

Contributors

Translate “PJ News Ticker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3

  • Added target option for links

1.2.1

  • Fixed broken styles in admin area with RTL languages (Arabic)

1.2

  • Added option to show excerpt

1.1.2

  • Fixed showing all posts

1.1.1

  • Fixed javascript problem causing conflicts with other plugins

1.1

  • Added speed and font size options

1.0

  • First release.