Customizable Post & Page Ticker For WordPress

A simple yet customizable ticker plugin used to display most recent or random posts/pages in a marquee style.

You can show the post/page ticker anywhere on the WordPress website by simply using the shortcode [spt-posts-ticker].

How to use it:

1. Download and upload the Simple Posts Ticker plugin to the WordPress.

2. Activate the plugin and we’re ready to go.

3. Insert the shortcode with the following attributes as per your needs:

  • num_posts – number of posts to display, defaults to showing 5 most recent posts, use “-1” for all matching posts
  • post_type – choose the type of post to display, default to “post” for normal posts or select a custom post type by its slug
  • order_by – choose the orderby method to display, default to “date” or set “modified” or “random”
  • show_excerpt – set the visibility to show the excerpt for each post, it can be “yes” or “no”
  • category – choose the id of a category to limit the posts, use a comma to separate multiple categories, use “0” for all categories (default)
  • no_content_text – set the text to display if no matching posts are found
  • show_label – choose yes ot no to show/hide a label for the Posts Ticker
  • label_text – if a label is shown, set what text to use
  • label_text_size – if a label is shown, choose the font size of the text
  • label_text_colour – if a label is shown, choose what colour is the text
  • label_bg_colour – if a label is shown, choose what colour is the background
  • ticker_colour – choose what the colour is for the ticker
  • ticker_bg_colour – choose what colour is the background for the ticker
  • speed – set the speed to scroll by, in pixels per second
  • size – set the size of the text, can be in px or em or %
  • target – choose the target for the links, can be “_self” or “_blank”
  • no_follow – choose the rel for the links, default to “no” but can be “yes”
  • gap – choose whether to show a gap between cycles of the marquee content, defaults to “yes” for classic marquee style, set to “no” for new infinite scrolling style marquee

4. Here’s an example of using the shortcode with attributes:

[spt-posts-ticker num_posts="5" post_type="post" order_by="modified" show_excerpt="yes" show_label="yes" label_text="Latest Posts" label_text_size="12px" label_text_colour="#ffffff" label_bg_colour="#1e73be" ticker_colour="#ffffff" ticker_bg_colour="#222" no_content_text="No matching posts" speed="100" size="100%" target="_self" no_follow="yes" gap="yes" ]

5. You can also insert the shortcode with attributes directly into your theme with PHP:

<?php echo do_shortcode('[spt-posts-ticker num_posts="5" post_type="page" order_by="modified" show_excerpt="no" category="1,29,45" show_label="yes" label_text="Latest Posts" label_text_size="12px" label_text_colour="#ffffff" label_bg_colour="#1e73be" ticker_colour="#ffffff" ticker_bg_colour="#ffffff" no_content_text="No matching posts" speed="100" size="100%" target="_self" no_follow="yes" gap="yes" ]'); ?>/code>

Preview:

Customizable Post & Page Ticker For WordPress

Download WordPress Plugin:

You can download this free WordPress plugin using the download button below. Unless otherwise stated, the WordPress plugin is available under GNU General Public License.

Author: Sayan Datta

Homepage: https://wordpress.org/plugins/simple-posts-ticker/

Don’t forget to share this WordPress plugin and also check out other awesome plugins on our site.

Rate This Plugin
Sending
User Review
0 (0 votes)

Leave a Reply