Example #1
0
                </div>
            </div>

            <div class="item-details">
                <div class="header"><?php 
_e('Details', 'pop');
?>
 </div>

                <?php 
osc_run_hook('item_detail', osc_item());
?>

                <div id="custom_fields">
                    <?php 
if (osc_count_item_meta() >= 1) {
    ?>
                    <div class="meta_list">
                        <?php 
    while (osc_has_item_meta()) {
        ?>
                        <?php 
        if (osc_item_meta_value() != '') {
            ?>
                        <div class="meta">
                            <strong><?php 
            echo osc_item_meta_name();
            ?>
:</strong> <?php 
            echo osc_item_meta_value();
            ?>
Example #2
0
if (count($item_location) > 0) {
    ?>
                    <p class="no-margin"><?php 
    printf(__('<strong>Location:</strong> %s', 'twitter_bootstrap'), implode(', ', $item_location));
    ?>
</p>
                    <?php 
}
?>
                    <p class="margin-top-10"><?php 
echo osc_item_description();
?>
</p>
                    <div class="custom_fields">
                        <?php 
if (osc_count_item_meta() > 0) {
    ?>
                        <div class="meta_list">
                            <?php 
    while (osc_has_item_meta()) {
        ?>
                            <p class="meta no-margin">
                                <strong><?php 
        echo osc_item_meta_name();
        ?>
:</strong> <?php 
        echo osc_item_meta_value();
        ?>
                            </p>
                            <?php 
    }