File "fields.php"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/byp/wp-content/plugins/convertkit/views/backend/term/fields.php
File size: 1.66 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/
?>
<?php
/**
* Edit Term Fields template
*
* @package ConvertKit
* @author ConvertKit
*/
?>
<tr class="form-field">
<th scope="row">
<label for="description"><?php esc_html_e( 'ConvertKit Form', 'convertkit' ); ?></label>
</th>
<td>
<?php
if ( ! $convertkit_forms->exist() ) {
esc_html_e( 'No Forms exist in ConvertKit.', 'convertkit' );
} else {
?>
<div class="convertkit-select2-container">
<select name="wp-convertkit[form]" id="wp-convertkit-form" class="convertkit-select2">
<option value="0"<?php selected( 0, $convertkit_term->get_form() ); ?>>
<?php esc_html_e( 'Default', 'convertkit' ); ?>
</option>
<?php
foreach ( $convertkit_forms->get() as $convertkit_form ) {
?>
<option value="<?php echo esc_attr( $convertkit_form['id'] ); ?>"<?php selected( $convertkit_form['id'], $convertkit_term->get_form() ); ?>>
<?php echo esc_html( $convertkit_form['name'] ); ?>
</option>
<?php
}
?>
</select>
<p class="description">
<?php _e( '<code>Default</code>: Display a form based on the Post\'s settings.', 'convertkit' ); /* phpcs:ignore */ ?>
<br />
<?php
echo sprintf(
/* translators: Taxonomy Name */
esc_html__( 'Any other option will display that form after the main content for Posts assigned to this %s.', 'convertkit' ),
'category'
);
?>
</p>
</div>
<?php
wp_nonce_field( 'wp-convertkit-save-meta', 'wp-convertkit-save-meta-nonce' );
}
?>
</td>
</tr>