Facturas
'facturas',
'post_status' => 'publish'
);
$facturas = new WP_Query($args);
if ($facturas->have_posts()) {
while ($facturas->have_posts()) {
$facturas->the_post();
echo '
' . get_the_title() . '
'; echo '' . get_the_content() . '
'; // Añadir opciones para cambiar el estado o eliminar } } } else { echo 'No tienes permiso para ver esta página.'; } get_footer(); ?>
