/ Published in: PHP
                    
                                        it's important for cyrilic (key name must not contain non-english symbols) or for show key names with spaces. and this code not show empty fields or fields with "_name". this is not my code, i only add get_label here.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 <?php $all_meta = get_post_custom($ID); if ( $all_meta ) foreach ( $all_meta as $key => $val ) { echo '<div class="specification"><span><strong>' . get_label ($key) . '</strong>: '; foreach ( $val as $val_key => $val_val ) echo $val_val . ' '; echo '</span></div>'; } ?>
Comments
                    Subscribe to comments
                
                