# convertkit/2.4.2/views/backend/term/fields-add.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 2.4.2. 49 lines.

- Page: https://pluginprobe.com/plugins/convertkit/2.4.2/code/views/backend/term/fields-add.php
- Raw: https://pluginprobe.com/plugins/convertkit/2.4.2/raw/views/backend/term/fields-add.php
- Modified: 2023-12-04T15:30:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/convertkit/2.4.2/code/views/backend/term/fields-add.php#L10-L20`.

```php
<?php
/**
 * Add Term Fields template
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<div class="form-field term-description-wrap">
	<label for="wp-convertkit-form"><?php esc_html_e( 'ConvertKit Form', 'convertkit' ); ?></label>

	<div class="convertkit-select2-container convertkit-select2-container-grid">
		<?php
		echo $convertkit_forms->get_select_field_all( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
			'wp-convertkit[form]',
			'wp-convertkit-form',
			array(
				'convertkit-select2',
			),
			'0',
			array(
				'0' => esc_html__( 'Default', 'convertkit' ),
			)
		);
		?>

		<button class="wp-convertkit-refresh-resources" class="button button-secondary" title="<?php esc_attr_e( 'Refresh Forms from ConvertKit account', 'convertkit' ); ?>" data-resource="forms" data-field="#wp-convertkit-form">
			<span class="dashicons dashicons-update"></span>
		</button>
		<p class="description">
			<code><?php esc_html_e( 'Default', 'convertkit' ); ?></code>
			<?php esc_html_e( ': Display a form based on the Post\'s settings.', 'convertkit' ); ?>
			<br />
			<?php
			printf(
				/* 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' );
	?>
</div>

```
