Lines:
1 to 17 of 17
<?php /** * Twitter Timeline Shortcode. * * Examples: * [twitter-timeline username=jetpack] * * @package automattic/jetpack */ /* function twitter_timeline_shortcode() – Render the Twitter shortcode. */ add_shortcode( 'twitter-timeline', 'twitter_timeline_shortcode' ); /* function twitter_timeline_js() – Enqueue the js used by the Twitter shortcode. */ add_action( 'wp_enqueue_scripts', 'twitter_timeline_js' );