From: Steve Sutton Date: Tue, 25 Nov 2014 15:18:12 +0000 (-0500) Subject: update order X-Git-Tag: v1.0.1~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=57274781169027cd2e40a2e14b7ec2c2eb52c596;p=WP-Plugins%2Fglm-blocks.git update order --- diff --git a/models/block.php b/models/block.php index 59c29f0..3200d7c 100644 --- a/models/block.php +++ b/models/block.php @@ -122,8 +122,8 @@ class glm_models_block { global $wpdb, $wp; $args = array( - 'post_type' => 'glm_blocks', - 'orderby' => 'menu_order, post_title', + 'post_type' => GLM_BLOCK_POST_TYPE, + 'orderby' => 'menu_order post_title', 'order' => 'asc' ); $blocks = get_posts($args); diff --git a/views/front/showBlocks.php b/views/front/showBlocks.php index 7c6bc92..f2f4d3c 100644 --- a/views/front/showBlocks.php +++ b/views/front/showBlocks.php @@ -1,7 +1,13 @@
thumbnail;?> -

post_title;?>

+ url):?> + + +

post_title;?>

+ url):?> +
+ post_excerpt;?>
\ No newline at end of file