예제 #1
0
/**
 * Add the news ticker.
 *
 * @since 1.0.0
 */
function ditty_news_ticker_display($atts, $content = null)
{
    extract(shortcode_atts(array('id' => '', 'class' => ''), $atts));
    // Remove the id & class before passing the atts
    unset($atts['id']);
    unset($atts['class']);
    // Return the ticker
    return get_mtphr_dnt_ticker($id, $class, $atts);
}
예제 #2
0
파일: functions.php 프로젝트: serker72/T3S
/**
 * Display the ticker
 *
 * @since 1.0.0
 */
function ditty_news_ticker($id = '', $class = '', $atts = false)
{
    echo get_mtphr_dnt_ticker($id, $class, $atts);
}