|
@@ -138,6 +138,9 @@ add_action( 'wp_head', 'altofocus_pingback_header' );
|
|
*/
|
|
*/
|
|
function altofocus_slideshow_gallery_filter( $output, $attr ) {
|
|
function altofocus_slideshow_gallery_filter( $output, $attr ) {
|
|
|
|
|
|
|
|
+ $id = null;
|
|
|
|
+ $order = null;
|
|
|
|
+ $size = null;
|
|
global $post;
|
|
global $post;
|
|
|
|
|
|
static $count = 0;
|
|
static $count = 0;
|
|
@@ -157,7 +160,7 @@ function altofocus_slideshow_gallery_filter( $output, $attr ) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- extract(shortcode_atts(array(
|
|
|
|
|
|
+ $short_atts = shortcode_atts(array(
|
|
'order' => 'ASC',
|
|
'order' => 'ASC',
|
|
'orderby' => 'menu_order ID',
|
|
'orderby' => 'menu_order ID',
|
|
'id' => $post->ID,
|
|
'id' => $post->ID,
|
|
@@ -168,7 +171,8 @@ function altofocus_slideshow_gallery_filter( $output, $attr ) {
|
|
'size' => 'large',
|
|
'size' => 'large',
|
|
'include' => '',
|
|
'include' => '',
|
|
'exclude' => ''
|
|
'exclude' => ''
|
|
- ), $attr));
|
|
|
|
|
|
+ ), $attr);
|
|
|
|
+ extract( $short_atts );
|
|
|
|
|
|
$id = intval($id);
|
|
$id = intval($id);
|
|
|
|
|