Libro de Rutas

Libro de Rutas

$taxloc,
‘dureza’ => $taxibp,
‘distancia’ => $taxdis,
‘acumulado’ => $taxacu,
‘post_type’ => ‘ruta’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => -1,
‘caller_get_posts’=> 1,
‘meta_key’ => $_GET[‘metakey’],
‘orderby’ => ‘meta_value_num’,
‘order’ => ‘DESC’,
‘meta_query’ => array(array(‘key’ => $_GET[‘metakey’],’compare’ => ‘LIKE’,))
);

$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) { ?>

have_posts()) : $my_query->the_post();
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
endwhile;
}
echo “

“;
echo “

FECHA RUTA DISTANCIA ACUMULADO IBP
“;
echo get_post_meta(get_the_ID(), ‘Fecha’, true);
echo “
“; ?>

“;
echo “

“;
echo get_post_meta(get_the_ID(), ‘Distancia’, true);
echo “
“;
echo get_post_meta(get_the_ID(), ‘Acumulado’, true);
echo “
“;
echo get_post_meta(get_the_ID(), ‘IBP’, true);
echo “

“;
wp_reset_query(); // Restore global post data stomped by the_post().
?>

2 Replies to “Libro de Rutas”

Responder a AnónimoCancelar respuesta

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.