300, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'marker', 'post_status' => 'publish', 'tag_id' => 809 ); $all_posts=new WP_Query($args); //var_dump($all_posts->posts); //krumo($all_posts); $contador=1; $titulos = array(); $paneles = array(); foreach( $all_posts->posts as $post ) : setup_postdata($post); ?> post_title; $tit['id'] = $post->ID; $data = array(); $files = get_post_meta($post->ID, 'soundmap_attachments_id', FALSE); $data['m_files'] = array(); foreach ($files as $key => $value){ $file = array(); $att = get_post($value); $file['id'] = $value; $file['fileURI'] = wp_get_attachment_url($value); $file['filePath'] = get_attached_file($value); $file['info'] = soundmap_get_id3info($file['filePath']); $file['name'] = $att->post_name; $data['m_files'][] = $file; } $tit['archivos'] = $data['m_files']; // $tit['rendered'] = '
  • ' . $post->post_title . '
  • '; $titulos[]=$tit; $pan = array(); $pan['id'] = $post->ID; ob_start(); ?>

    ID,'medium'); ?> ID, "enclosure",true); $enclosure_info=explode("mp3",$post_meta); $file_name=$enclosure_info[0] . "mp3"; ?>