Revision: 60447
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 9, 2012 09:26 by jhkoning
Initial Code
<?php
query_posts( 'suppress_filters=0&post_type=infobox&order=ASC&posts_per_page=' . $mini_features_number );
if ( have_posts() ) { $count = 0; while ( have_posts() ) { the_post(); $count++;
$excerpt = stripslashes( get_post_meta( $post->ID, 'mini_excerpt', true ) );
$button = get_post_meta( $post->ID, 'mini_readmore', true );
$post_class = 'post block';
if ( $count % $mini_features_count == 0 ) { $post_class .= ' last'; }
?>
Initial URL
Initial Description
I'm looking at adding a is_sticky conditional to this code...
Initial Title
WooThemes Mini Features
Initial Tags
Initial Language
PHP