Changeset 18216
- Timestamp:
- 06/09/2011 04:39:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/showcase.php
r18181 r18216 42 42 */ 43 43 $sticky = get_option( 'sticky_posts' ); 44 45 // Proceed only if sticky posts exist. 46 if ( ! empty( $sticky ) ) : 47 44 48 $featured_args = array( 45 49 'post__in' => $sticky, … … 50 54 // The Featured Posts query. 51 55 $featured = new WP_Query( $featured_args ); 52 53 // Proceed only if sticky posts exist.54 if ( $featured->have_posts() ) :55 56 56 57 /**
Note: See TracChangeset
for help on using the changeset viewer.