if ($release_catalog) { ?> <strong><?php _e('Catalog ref.', 'wolf'); ?> </strong> : <?php echo $release_catalog; ?> <br> <?php } ?> <?php // Type if ($release_type && wolf_get_release_option('display_format')) { ?> <strong><?php _e('Format', 'wolf'); ?> </strong> : <?php echo $release_type; ?> <br> <?php } ?> </div> <?php the_content(__('View Details', 'wolf')); ?>
$post_id = get_the_ID(); /* Metaboxes and Taxonomy */ // label $band = ''; if (strip_tags(get_the_term_list($post_id, 'band', '', ', ', '')) != '') { $band = '<strong>' . __('Band ', 'wolf') . '</strong> : ' . strip_tags(get_the_term_list($post_id, 'band', '', ', ', '')) . '<br>'; } if (wolf_get_release_option('use_band_tax')) { $band = get_the_term_list($post_id, 'band', '<strong>' . __('Band ', 'wolf') . '</strong> : ', ', ', '<br>'); } // label $label = ''; if (strip_tags(get_the_term_list($post_id, 'label', '', ', ', '')) != '') { $label = '<strong>' . __('Label ', 'wolf') . '</strong> : ' . strip_tags(get_the_term_list($post_id, 'label', '', ', ', '')) . '<br>'; } if (wolf_get_release_option('use_label_tax')) { $label = get_the_term_list($post_id, 'label', '<strong>' . __('Label ', 'wolf') . '</strong> : ', ', ', '<br>'); } $release_title = get_post_meta($post_id, '_wolf_release_title', true); $release_date = get_post_meta($post_id, '_wolf_release_date', true); $release_label = get_post_meta($post_id, '_wolf_release_label', true); $release_catalog = get_post_meta($post_id, '_wolf_release_catalog_number', true); $release_type = get_post_meta($post_id, '_wolf_release_type', true); $display_date = $release_date ? mysql2date(get_option('date_format'), $release_date . ' 00:00:00') : null; ?> <article id="post-<?php the_ID(); ?> " <?php post_class(array('wolf-release', 'clearfix')); ?>