<?php if( osc_count_item_meta() >= 1 ) { ?> <div id="custom_fields"> <div class="meta_list"> <?php while ( osc_has_item_meta() ) { ?> <?php if(osc_item_meta_id() == 123 || osc_item_meta_slug() = 'only-this-field-by-slug') { ?> <div class="meta"> <strong><?php echo osc_item_meta_name(); ?>:</strong> <span><?php echo osc_item_meta_value(); ?></span> </div> <?php } ?> <?php } ?> </div> </div> <?php } ?>
<?php if( osc_count_item_meta() >= 1 ) { ?>
<?php while ( osc_has_item_meta() ) { ?>
<?php if(osc_item_meta_id() == 123 || osc_item_meta_slug() = 'only-this-field-by-slug') { ?>
<?php echo osc_item_meta_name(); ?>
<?php echo osc_item_meta_value(); ?>
<?php } ?>
<?php if(osc_item_meta_slug()!='festpreis') if(osc_item_meta_slug()!='evp') { ?>
<?php if( osc_count_item_meta() >= 1 ) { ?> <div id="custom_fields"> <div class="meta_list"> <?php while ( osc_has_item_meta() ) { ?> <?php if(osc_item_meta_slug()!='festpreis') if(osc_item_meta_slug()!='evp') { ?> <div class="meta"> <strong></strong> <span><?php echo osc_item_meta_value(); ?></span> </div> <?php } ?> <?php } ?> </div> </div> <?php } ?>