• Hi!

    is there any option to remove ticker from a single page?
    I added the ticker to the header of my theme, but there are some pages, where I don′t need the ticker, so I would like to remove it form there.

    Thanks
    Digo

Viewing 1 replies (of 1 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    You would have to wrap the ticker code in an “if” statement and check the current post id:

    $do_not_show = array( 332, 335, 499);
    if ( ! in_array( get_the_id(), $do_not_show ) ) {
      if(function_exists('ditty_news_ticker')){ditty_news_ticker(????);} 
    }

    Change the numbers in the $do_not_show array to page IDs you do not want the ticker to show on.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove ticker from page?’ is closed to new replies.