release: v1.2.0
This commit is contained in:
parent
d98c328869
commit
4f7bbeb57a
2 changed files with 6 additions and 6 deletions
|
|
@ -20,10 +20,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
</p>
|
||||
<div id="brezngeo-keyword-secondary-list">
|
||||
<?php if ( ! empty( $secondary ) ) : ?>
|
||||
<?php foreach ( $secondary as $kw ) : ?>
|
||||
<?php foreach ( $secondary as $brezngeo_kw ) : ?>
|
||||
<div class="brezngeo-keyword-secondary-row" style="display:flex;gap:6px;margin-bottom:4px;">
|
||||
<input type="text" name="brezngeo_keyword_secondary[]"
|
||||
value="<?php echo esc_attr( $kw ); ?>"
|
||||
value="<?php echo esc_attr( $brezngeo_kw ); ?>"
|
||||
style="flex:1;box-sizing:border-box;">
|
||||
<button type="button" class="button brezngeo-keyword-remove-secondary">×</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -70,12 +70,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<tr>
|
||||
<th scope="row"><?php esc_html_e( 'Show keyword meta box on', 'brezngeo' ); ?></th>
|
||||
<td>
|
||||
<?php foreach ( $post_types as $pt ) : ?>
|
||||
<?php foreach ( $post_types as $brezngeo_pt ) : ?>
|
||||
<label style="display:block;margin-bottom:4px;">
|
||||
<input type="checkbox" name="brezngeo_keyword_settings[post_types][]"
|
||||
value="<?php echo esc_attr( $pt->name ); ?>"
|
||||
<?php checked( in_array( $pt->name, $settings['post_types'], true ) ); ?>>
|
||||
<?php echo esc_html( $pt->labels->name ); ?>
|
||||
value="<?php echo esc_attr( $brezngeo_pt->name ); ?>"
|
||||
<?php checked( in_array( $brezngeo_pt->name, $settings['post_types'], true ) ); ?>>
|
||||
<?php echo esc_html( $brezngeo_pt->labels->name ); ?>
|
||||
</label>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue