- Upload the plugin files to the
/wp-content/plugins/pj-news-ticker directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->PJ News Ticker screen to configure the plugin defaults
- 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_type=”slug” – Choose the type of post to display, default to “post” for normal posts, or select a custom post type * post_cat=”slug” – Choose the slug of a category to limit the posts, use a comma to separate multiple categories, use “0” for all categories (default). WARNING: If you chose a category with 0 posts assigned to it, you will receive an error * 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 * gap=”true” – Choose whether to show a gap between cycles of the marquee content, defaults to “true” for classic marquee style, set to “false” for new infinite scrolling style marquee * hide_if_empty=”false” – Choose whether to hide the plugin if no matching posts are found, defaults to “false” * override_posts_custom_colour= “True” or “false”; – Choose whether to use a custom color or not, defaults to “false” * override_posts_custom_text_colour=”#cf2727? – If custom colour is true, what colour is the text * override_posts=”false” – “true” or “false” – Choose whether to hide the posts and show custom text instead, defaults to “false” * override_posts_custom_text=”Custom Text” – If custom text is shown, what text to use * override_posts_custom_text_colour=”#cf2727? – If custom text is shown, what colour is the text * override_posts_custom_text_url=”https://google.ca” – If custom text is shown, what url should it use. If left blank no URL will be added * google_font_choice=”custom, predefined” – Chose to use a custom Google Font URL or a predefined one from our library, defaults to “Custom URL” * google_font_url= – Enter the Google font URL, example “https://fonts.googleapis.com/css?family=Open+Sans&display=swap”, defaults to blank * google_font=”Poppins, Roboto, Oswald, Open Sans, Lato, Montserrat” – Select the Google Font from our list * custom_separator= “Enter your html here (img tag or HTML entities recommended)” – Choose what separator will be shown between posts ] |