diff --git a/library/fonts/glyphiconshalflings-regular.eot b/library/fonts/glyphicons-halflings-regular.eot old mode 100755 new mode 100644 similarity index 100% rename from library/fonts/glyphiconshalflings-regular.eot rename to library/fonts/glyphicons-halflings-regular.eot diff --git a/library/fonts/glyphiconshalflings-regular.otf b/library/fonts/glyphicons-halflings-regular.otf old mode 100755 new mode 100644 similarity index 100% rename from library/fonts/glyphiconshalflings-regular.otf rename to library/fonts/glyphicons-halflings-regular.otf diff --git a/library/fonts/glyphiconshalflings-regular.svg b/library/fonts/glyphicons-halflings-regular.svg old mode 100755 new mode 100644 similarity index 100% rename from library/fonts/glyphiconshalflings-regular.svg rename to library/fonts/glyphicons-halflings-regular.svg diff --git a/library/fonts/glyphiconshalflings-regular.ttf b/library/fonts/glyphicons-halflings-regular.ttf old mode 100755 new mode 100644 similarity index 100% rename from library/fonts/glyphiconshalflings-regular.ttf rename to library/fonts/glyphicons-halflings-regular.ttf diff --git a/library/fonts/glyphiconshalflings-regular.woff b/library/fonts/glyphicons-halflings-regular.woff old mode 100755 new mode 100644 similarity index 100% rename from library/fonts/glyphiconshalflings-regular.woff rename to library/fonts/glyphicons-halflings-regular.woff diff --git a/library/shortcodes.php b/library/shortcodes.php index 3c3ee287..8c034e93 100644 --- a/library/shortcodes.php +++ b/library/shortcodes.php @@ -9,24 +9,25 @@ add_shortcode('gallery', 'gallery_shortcode_tbs'); function gallery_shortcode_tbs($attr) { - global $post, $wp_locale; - - $output = ""; - - $args = array( 'post_type' => 'attachment', 'numberposts' => -1, 'post_status' => null, 'post_parent' => $post->ID ); - $attachments = get_posts($args); - if ($attachments) { - $output = '