diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/scribd.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/scribd.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/plugins/jetpack/modules/shortcodes/scribd.php b/plugins/jetpack/modules/shortcodes/scribd.php index 2f745daf..1810c2fa 100644 --- a/plugins/jetpack/modules/shortcodes/scribd.php +++ b/plugins/jetpack/modules/shortcodes/scribd.php @@ -1,6 +1,7 @@ <?php -/* Scribd Short Code +/* + Scribd Short Code Author: Nick Momrik [scribd id=DOCUMENT_ID key=DOCUMENT_KEY mode=MODE] @@ -12,11 +13,15 @@ MODE can be 'list', 'book', 'slide', 'slideshow', or 'tile' */ function scribd_shortcode_handler( $atts ) { - $atts = shortcode_atts( array( - 'id' => 0, - 'key' => 0, - 'mode' => '', - ), $atts, 'scribd' ); + $atts = shortcode_atts( + array( + 'id' => 0, + 'key' => 0, + 'mode' => '', + ), + $atts, + 'scribd' + ); $modes = array( 'list', 'book', 'slide', 'slideshow', 'tile' ); |