$content,
'post_status' => 'publish',
'posts_per_page' => $options['index_' . $content . '_num'],
//'order_by' => 'date',
//'order' => 'DSC'
);
$the_query = new WP_Query( $args );
?>
have_posts() ) :
while ( $the_query->have_posts() ) :
$the_query->the_post();
?>
-
' . "\n";
}
?>
' . __( 'There is no registered post.', 'tcd-w' ) . '' . "\n";
endif;
?>
$content,
'post_status' => 'publish',
'posts_per_page' => $options['index_' . $content . '_num'],
//'order_by' => array( 'menu_order' => 'ASC', 'date' => 'DESC' )
);
$the_query = new WP_Query( $args );
?>
have_posts() ) :
while ( $the_query->have_posts() ) :
$the_query->the_post();
?>
-
' . "\n";
}
?>
' . __( 'There is no registered post.', 'tcd-w' ) . '' . "\n";
endif;
?>
$content,
'post_status' => 'publish',
'posts_per_page' => $options['index_' . $content . '_num'],
//'order_by' => array( 'menu_order' => 'ASC', 'date' => 'DESC' )
);
$the_query = new WP_Query( $args );
?>