{"id":53543,"date":"2017-01-05T05:12:48","date_gmt":"2017-01-05T05:12:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pj-news-ticker\/"},"modified":"2025-04-30T02:35:27","modified_gmt":"2025-04-30T02:35:27","slug":"pj-news-ticker","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/pj-news-ticker\/","author":17924879,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.8","stable_tag":"trunk","tested":"6.8.0","requires":"4.6","requires_php":"","requires_plugins":null,"header_name":"PJ News Ticker","header_author":"Paul Jura & Nicolas Montigny","header_description":"","assets_banners_color":"d6dadd","last_updated":"2025-04-30 02:35:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/pj-news-ticker\/","header_author_uri":"https:\/\/primitiv.media\/","rating":4.5,"author_block_rating":0,"active_installs":3000,"downloads":78126,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.6":"<ul>\n<li>Added option to hide plugin if there are no posts to display<\/li>\n<\/ul>","1.5.4":"<ul>\n<li>Fixed unable to choose &#039;All&#039; posts in settings<\/li>\n<\/ul>","1.5.3":"<p>Fix for wp_enqueue_scripts and wp_enqueue_style problem<\/p>","1.5.2":"<p>Fix for show_excerpt problem, again<\/p>","1.5.1":"<p>Fix for show_excerpt problem<\/p>","1.5":"<p>Can now choose multiple categories for posts<\/p>","1.4":"<p>Added option for custom post types\nAdded option for no gap between cycles<\/p>","1.3":"<p>Added target option for links<\/p>","1.2":"<p>Added option to show excerpt<\/p>","1.1":"<p>Added speed and font size options<\/p>","1.0":"<p>First release<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1573723,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1573723,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1573723,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2298746,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2298746,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"How it looks","2":"Settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[14198,11026,15347,12726],"plugin_category":[],"plugin_contributors":[185330,130489],"plugin_business_model":[],"class_list":["post-53543","plugin","type-plugin","status-publish","hentry","plugin_tags-jquery-news-ticker","plugin_tags-marquee","plugin_tags-news-headlines","plugin_tags-news-ticker","plugin_contributors-nicolasmontigny","plugin_contributors-pauljura","plugin_committers-nicolasmontigny","plugin_committers-pauljura"],"banners":{"banner":"https:\/\/ps.w.org\/pj-news-ticker\/assets\/banner-772x250.png?rev=1573723","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pj-news-ticker\/assets\/icon-128x128.png?rev=1573723","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pj-news-ticker\/assets\/screenshot-1.png?rev=1573723","caption":"How it looks"},{"src":"https:\/\/ps.w.org\/pj-news-ticker\/assets\/screenshot-2.png?rev=2298746","caption":"Settings"},{"src":"https:\/\/ps.w.org\/pj-news-ticker\/assets\/screenshot-3.png?rev=2298746","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>This plugin is now maintained by the developers at Primitiv Media<\/strong><\/p>\n\n<p>PJ News Ticker is a small plugin that shows your most recent posts in a marquee style.<\/p>\n\n<p>You can embed the news ticker anywhere you like using shortcodes.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/pj-news-ticker<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Settings-&gt;PJ News Ticker screen to configure the plugin defaults<\/li>\n<li>Use the shortcode in your page, post, or widgets<\/li>\n<\/ol>\n\n<p>Shortcode instructions:<\/p>\n\n<p>Using default settings:\n[pj-news-ticker]<\/p>\n\n<p>Customise:<\/p>\n\n<p>[pj-news-ticker\n  * num_posts=\"5\" - Defaults to showing 5 most recent posts, use \"-1\" for all matching posts\n  * post_type=\"slug\" - Choose the type of post to display, default to \"post\" for normal posts, or select a custom post type\n  * 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\n  * show_label=\"true\" - \"true\" or \"false\", to show a label for the News Ticker\n  * label_text=\"Latest Posts\" - If a label is shown, what text to use\n  * label_text_colour=\"#ffffff\" - If a label is shown, what colour is the text\n  * label_bg_colour=\"#1e73be\" - If a label is shown, what colour is the background\n  * ticker_bg_colour=\"#ffffff\" - What colour is the background for the ticker\n  * no_content_text=\"No matching posts\" - The text to display if no matching posts are found\n  * show_excerpt=\"false\" - \"true\" or \"false\", to show the excerpt for each post\n  * speed=\"100\" - The speed in pixels per second\n  * size=\"100%\" - The font size, can be in em, px, or %\n  * target=\"_self\" - The target for the links, can be _self or _blank\n  * 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\n  * hide_if_empty=\"false\" - Choose whether to hide the plugin if no matching posts are found, defaults to \"false\"\n  * override_posts_custom_colour= \"True\" or \"false\"; - Choose whether to use a custom color or not, defaults to \"false\"\n  * override_posts_custom_text_colour=\"#cf2727\" - If custom colour is true, what colour is the text\n  * override_posts=\"false\" - \"true\" or \"false\" - Choose whether to hide the posts and show custom text instead, defaults to \"false\"\n  * override_posts_custom_text=\"Custom Text\" - If custom text is shown, what text to use\n  * override_posts_custom_text_colour=\"#cf2727\" - If custom text is shown, what colour is the text\n  * 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\n  * google_font_choice=\"custom, predefined\" - Chose to use a custom Google Font URL or a predefined one from our library, defaults to \"Custom URL\"\n  * google_font_url= - Enter the Google font URL, example \"https:\/\/fonts.googleapis.com\/css?family=Open+Sans&amp;display=swap\", defaults to blank\n  * google_font=\"Poppins, Roboto, Oswald, Open Sans, Lato, Montserrat\" - Select the Google Font from our list\n  * custom_separator= \"Enter your html here (img tag or HTML entities recommended)\" - Choose what separator will be shown between posts\n]<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20add%20this%20to%20your%20site'><h3>How to add this to your site<\/h3><\/dt>\n<dd><p>The easiest way is just to add a page and use the shortcode.<\/p>\n\n<p>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!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.8<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.8.0<\/li>\n<\/ul>\n\n<h4>1.9.7<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.7.0<\/li>\n<\/ul>\n\n<h4>1.9.6<\/h4>\n\n<ul>\n<li>Added proper sanitization when rendering the shortcode<\/li>\n<li>Tested with WordPress 6.6.2<\/li>\n<\/ul>\n\n<h4>1.9.5<\/h4>\n\n<ul>\n<li>Fixed a typo within the option list<\/li>\n<li>Tested with WordPress 5.8<\/li>\n<\/ul>\n\n<h4>1.9.4<\/h4>\n\n<ul>\n<li>Tested with WordPress 5.7.2<\/li>\n<li>Added a new field for a custom separator image<\/li>\n<\/ul>\n\n<h4>1.9.3<\/h4>\n\n<ul>\n<li>Tested with WordPress 5.7<\/li>\n<li>Fixed a bug that caused the animation loop to break if the ticker is hidden on the page<\/li>\n<\/ul>\n\n<h4>1.9.2<\/h4>\n\n<ul>\n<li>Added a disclaimer within the shortcode options in regards to selecting an empty post slug\/category. It will display an error where the ticker appears as it's not meant to be empty<\/li>\n<li>Removed the PHP error displayed when you have enabled php error handling and use an empty category<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<ul>\n<li>Fixed a bug which prevented certain admin settings from appearing<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Added the option of using custom post separators instead of only whitespace<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Tested with WordPress 5.5.3<\/li>\n<li>Changed how the custom color works. You can now apply a custom color regardless of the custom text being used or not<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added override posts with text options<\/li>\n<li>Added google fonts options<\/li>\n<li>Added options to use ticker as a banner<\/li>\n<li>Updated the look of the options page<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added option to hide plugin if there are no posts to display<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>Fixed unable to choose 'All' posts in settings<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>Fix for wp_enqueue_scripts and wp_enqueue_style problem<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Fix for show_excerpt problem, again<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Fix for show_excerpt problem<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Can now choose multiple categories for posts<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added option for custom post types<\/li>\n<li>Added option for no gap between cycles<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added target option for links<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed broken styles in admin area with RTL languages (Arabic)<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added option to show excerpt<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed showing all posts<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed javascript problem causing conflicts with other plugins<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added speed and font size options<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"PJ News Ticker is a small plugin that shows your most recent posts in a marquee style.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=53543"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nicolasmontigny"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53543"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53543"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53543"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53543"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53543"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}