Title: Same ticker &#8211; two ticker modes
Last modified: August 30, 2016

---

# Same ticker – two ticker modes

 *  Resolved [krkjee](https://wordpress.org/support/users/krkjee/)
 * (@krkjee)
 * [11 years ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/)
 * Hi,
 * Is it possible to display the same News Ticker in two different Ticker Modes?
 * I would like to display the News Ticker in Scroll Mode on the frontpage, and 
   in List Mode at a sup-page.
 * Furthermore, is it in any way possible add an image for every item in the list
   mode?
 * Thank you in advance!
 * [https://wordpress.org/plugins/ditty-news-ticker/](https://wordpress.org/plugins/ditty-news-ticker/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [11 years ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198049)
 * Yes, you can add a “mode” attribute to your shortcode to override the mode that
   is setup for the ticker. Examples:
 * `[ditty_news_ticker id="794" mode="scroll"]`
 * or
 * `[ditty_news_ticker id="794" mode="list"]`
 * There isn’t any way to add an image to every list item right now. You could use
   the “mtphr_dnt_tick” filter (add to your functions.php file or a custom functions
   plugin) to add an image to every item, but currently there isn’t a way to tell
   if your ticker is using list mode or not. I guess you could add the image to 
   every tick and then use css to hide the image wherever you don’t want it.
 *     ```
       function add_image_to_ticks( $contents) {
         return '<img src="src-to-image" />'.$contents;
       }
       add_filter( 'mtphr_dnt_tick', 'add_image_to_ticks' );
       ```
   
 *  Thread Starter [krkjee](https://wordpress.org/support/users/krkjee/)
 * (@krkjee)
 * [11 years ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198299)
 * Awesome – Thank you!
 * Is it possible to force linebreaks in only one of the two modes?
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [11 years ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198304)
 * Yes, just add the following attribute:
 * **line_breaks=”0″** (do not force line breaks)
 * or
 * **line_breaks=”1″** (force line breaks)
 *  Thread Starter [krkjee](https://wordpress.org/support/users/krkjee/)
 * (@krkjee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198367)
 * Sorry for my late response. This is brilliant, thanks!
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198387)
 * Marking as resolved

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Same ticker – two ticker modes’ is closed to new replies.

 * ![](https://ps.w.org/ditty-news-ticker/assets/icon.svg?rev=2650696)
 * [Ditty – Responsive News Tickers, Sliders, and Lists](https://wordpress.org/plugins/ditty-news-ticker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ditty-news-ticker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ditty-news-ticker/)
 * [Active Topics](https://wordpress.org/support/plugin/ditty-news-ticker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ditty-news-ticker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ditty-news-ticker/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/same-ticker-two-ticker-modes/#post-6198387)
 * Status: resolved