Support » Plugin: Ditty – Responsive News Tickers, Sliders, and Lists » Password Protected Pages

  • Greetings!

    First, wanted to thank you for making a plugin that just works! This is exactly what I was looking for, pretty happy 🙂

    The next thing is that I’m trying to put the ticker on a password protected page. I don’t want the ticker to show till the password has been entered. I’ve created a custom page and tried putting it in a few places but regardless of where it sits in the file, it is always above the password enter section.

    Suggetsions?

    https://wordpress.org/plugins/ditty-news-ticker/

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

    (@metaphorcreations)

    You will either need to use the shortcode display method and include it directly in your page content, or if you are using the direct function method to display your ticker you need to wrap the ticker function in another function:

    if ( !post_password_required() ) {
      if(function_exists('ditty_news_ticker')){ditty_news_ticker(***);}
    }

    This tests if a correct password has been entered.

Viewing 1 replies (of 1 total)
  • The topic ‘Password Protected Pages’ is closed to new replies.