} ?>
$pj = new WP_Query(
array(
'post_type' => 'projeto-grafico',
'category_name' => 'lado-b',
'order' => 'ASC'
)
);
if ($pj->have_posts()) : while ($pj->have_posts()) : $pj->the_post();
the_content();
endwhile; endif; wp_reset_postdata();
?>
$md = new WP_Query(
array(
'post_type' => 'material-de-divulgac',
'category_name' => 'lado-b',
'order' => 'ASC'
)
);
if ($md->have_posts()) : while ($md->have_posts()) : $md->the_post();
the_content();
endwhile; endif; wp_reset_postdata();
?>
the_post();
$page_id = get_the_id();
$page_slug = $post->post_name;
?>
endwhile; endif; wp_reset_postdata(); ?>
endwhile; endif; wp_reset_postdata(); ?>
Lado B
Lado B
2021
$faixas = new WP_Query(
array(
'post_type' => 'faixas',
'category_name' => 'lado-b',
'orderby' => 'ordem',
'order' => 'ASC'
)
);
if ($faixas->have_posts()) : while ($faixas->have_posts()) : $faixas->the_post();
$titulo = get_the_title();
$letra = get_the_content();
$autores = get_post_meta( $post->ID, 'autores', true ) ;
$ordem = get_post_meta( $post->ID, 'ordem', true ) ;
$audio = get_post_meta( $post->ID, 'audio', true ) ;
$info = get_post_meta( $post->ID, 'info_extra', true ) ;
/*print_r($audio);*/
?>
echo $ordem . ' ' . $titulo; ?>
echo do_shortcode('[sc_embed_player fileurl="'.$audio['guid'].'"]'); ?>
$letras = new WP_Query(
array(
'post_type' => 'faixas',
'category_name' => 'lado-b',
'orderby' => 'ordem',
'order' => 'ASC'
)
);
if ($letras->have_posts()) : while ($letras->have_posts()) : $letras->the_post();
$autores = get_post_meta( $post->ID, 'autores', true ) ;
$ordem = get_post_meta( $post->ID, 'ordem', true ) ;
$audio = get_post_meta( $post->ID, 'audio', true ) ;
$info = get_post_meta( $post->ID, 'info_extra', true ) ;
?>
endwhile; endif; wp_reset_postdata(); ?>
the_title(); ?>
echo $autores; ?>
echo $info; ?>
the_content(); ?>
Lado B
2021
$releases = new WP_Query(
array(
'post_type' => 'releases',
'category_name' => 'lado-b',
'orderby' => 'ordem',
'order' => 'ASC'
)
);
if ($releases->have_posts()) : while ($releases->have_posts()) : $releases->the_post();
$ordem = get_post_meta( $post->ID, 'ordem', true ) ;
?>
the_title(); ?>
$txreleases = new WP_Query(
array(
'post_type' => 'releases',
'category_name' => 'lado-b',
'orderby' => 'ordem',
'order' => 'ASC'
)
);
if ($txreleases->have_posts()) : while ($txreleases->have_posts()) : $txreleases->the_post();
$ordem = get_post_meta( $post->ID, 'ordem', true );
?>
endwhile; endif; wp_reset_postdata(); ?>
the_content(); ?>
$releases = new WP_Query(
array(
'post_type' => 'ficha-tecnica',
'category_name' => 'lado-b',
'order' => 'ASC'
)
);
if ($releases->have_posts()) : while ($releases->have_posts()) : $releases->the_post();
?>
endwhile; endif; wp_reset_postdata(); ?>
the_content(); ?>
$imprensa = new WP_Query(
array(
'post_type' => 'imprensa',
'category_name' => 'lado-b',
'order' => 'DESC'
)
);
if ($imprensa->have_posts()) : while ($imprensa->have_posts()) : $imprensa->the_post();
$linkpdf = get_post_meta( $post->ID, 'pdf', true ) ;
$imgimprensa = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'mini');
$tituloimprensa = get_the_title() ;
$contentimprensa = get_the_content() ;
/*print_r($linkpdf);*/
?>
endwhile; endif; wp_reset_postdata(); ?>
$compre = new WP_Query(
array(
'post_type' => 'compre-o-cd',
'category_name' => 'lado-b',
'order' => 'ASC'
)
);
if ($compre->have_posts()) : while ($compre->have_posts()) : $compre->the_post();
?>
the_content(); ?>
endwhile; endif; wp_reset_postdata(); ?>