Exemplo n.º 1
0
                </div>

                <?php 
}
?>
        </div>
    </div>

    <!-- end description -->
</div>
<?php 
$show_map = false;
$meta = get_post_meta(get_the_ID(), 'location_tab_item', true);
if (!$meta) {
    $meta = STLocation::get_opt_list_std();
}
if (!empty($meta) and is_array($meta)) {
    foreach ($meta as $key => $value) {
        if ($value['tab_type'] == 'st_map') {
            $show_map = true;
            if (isset($value['map_spots'])) {
                $number = $value['map_spots'];
            }
            if (isset($value['map_height'])) {
                $map_height = $value['map_height'];
            }
            if (isset($value['map_location_style'])) {
                $map_location_style = $value['map_location_style'];
            }
        }