WP PLUGIN バグ修正 ソートのカスタムフィールドのメタボックス追加
・ソートのカスタムフィールドのメタボックスを追加 ・共通nameタグが更新されないバグ対策としてフォームタグを共通化 ・ファイル名をクラス名に合わせるよう変更
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<div class="order_setting_custom_field_box">
|
||||
<?php if ( isset( $this->order_field ) && count( $this->order_field ) > 0 ): ?>
|
||||
<dl class="apop_setting_list_dd">
|
||||
<?php foreach ( $this->order_field as $type => $items ): ?>
|
||||
<dt><?php echo $this->labels[ $type ]; ?></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<?php foreach ( $items as $item ): ?>
|
||||
<?php if ( ! empty( $item ) ): ?>
|
||||
<li><label><?php echo $item; ?></label>
|
||||
<input type="text" name="<?php echo $item; ?>"
|
||||
value="<?php echo $this->get_custom_field_data( $item ); ?>"/>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user