示例#1
0
        <input type="text" id="edit-menu-item-oxy_bg_url-<?php 
echo $item_id;
?>
" class="widefat code edit-menu-item-oxy_bg_url" name="menu-item-oxy_bg_url[<?php 
echo $item_id;
?>
]" value="<?php 
echo esc_attr($item->oxy_bg_url);
?>
" />
    </label>
</p>
<p class="field-mega_borders oxy-mega_borders description-wide">
    <label for="edit-menu-item-oxy-mega_borders-<?php 
echo $item_id;
?>
">
        <?php 
_e('Show Column Borders', 'omega-admin-td');
?>
<br />
        <?php 
$column_borders_select->render();
?>
        <span class="description"><?php 
_e('Useful for image backgrounds.', 'omega-admin-td');
?>
</span>
    </label>
</p>
// create options and value for icon select
$widget_option = array('name' => 'Widget', 'desc' => 'Widget', 'id' => 'Widget', 'type' => 'select', 'options' => array('on' => __('On', 'lambda-admin-td'), '' => __('Off', 'lambda-admin-td')), 'default' => '');
$widget_select_value = isset($item->oxy_widget) ? esc_attr($item->oxy_widget) : '';
$widget_select = new OxygennaSelect($widget_option, $widget_select_value, array('id' => 'edit-menu-item-widget-' . $item_id, 'name' => 'menu-item-oxy_widget[' . $item_id . ']', 'class' => 'widefat edit-menu-item-widget'));
?>
<p class="field-widget oxy-widget description-wide">
    <label for="edit-menu-item-oxy-widget-<?php 
echo $item_id;
?>
">
        <?php 
_e('Use Column As Widget', 'lambda-admin-td');
?>
<br />
        <?php 
$widget_select->render();
?>
        <span class="description"><?php 
_e('This will set this column up to be used as a widget position.', 'lambda-admin-td');
?>
</span>
    </label>
</p>
<p class="field-url oxy_col_url description-wide">
    <label for="edit-menu-item-oxy_col_url-<?php 
echo $item_id;
?>
">
        <?php 
_e('Column Title URL', 'lambda-admin-td');
?>
示例#3
0
        <span class="description"><?php 
_e('Adds a label to the menu item.', 'lambda-admin-td');
?>
</span>
    </label>
</p>
<p class="field-icon oxy-label-type description-thin">
    <label for="edit-menu-item-label_type-<?php 
echo $item_id;
?>
">
        <?php 
_e('Label Type', 'lambda-admin-td');
?>
        <?php 
$label_type_select->render();
?>
        <span class="description"><?php 
_e('Select a style to use for the label.', 'lambda-admin-td');
?>
</span>
    </label>
</p>
<?php 
if ($item->object !== 'oxy_mega_columns') {
    ?>
<p class="field-icon oxy-icon description-wide" style="margin-top: 28px;">
    <label for="edit-menu-item-icon-<?php 
    echo $item_id;
    ?>
">