Commit 68a43d1f authored by numeroteca's avatar numeroteca

#4 lista las 2 'ultimas actividades en home page

parent fe79b9b1
......@@ -12,8 +12,8 @@ get_header(); ?>
// Display Actividades -----------------------
$args = array(
'post_type' => 'actividad', //sets post type to actividad
'meta_key' => '_act_date-init',
'orderby' => 'meta_value_num',
//'meta_key' => '_act_date-init',
//'orderby' => 'meta_value_num',
'order' => 'DESC',
'posts_per_page'=> 2,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment