PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.5.0
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.5.0
3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 All 195 releases
convertkit / views / backend / term / fields-add.php

fields-add.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 2.5.0, at views/backend/term/fields-add.php

64 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Add Term Fields template
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10 <div class="form-field term-description-wrap">
11 <label for="wp-convertkit-form"><?php esc_html_e( 'ConvertKit Form', 'convertkit' ); ?></label>
12
13 <div class="convertkit-select2-container convertkit-select2-container-grid">
14 <?php
15 echo $convertkit_forms->get_select_field_all( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
16 'wp-convertkit[form]',
17 'wp-convertkit-form',
18 array(
19 'convertkit-select2',
20 ),
21 '0',
22 array(
23 '0' => esc_html__( 'Default', 'convertkit' ),
24 )
25 );
26 ?>
27
28 <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">
29 <span class="dashicons dashicons-update"></span>
30 </button>
31 <p class="description">
32 <code><?php esc_html_e( 'Default', 'convertkit' ); ?></code>
33 <?php esc_html_e( ': Display a form based on the Post\'s settings.', 'convertkit' ); ?>
34 <br />
35 <?php
36 printf(
37 /* translators: Taxonomy Name */
38 esc_html__( 'Any other option will display that form after the main content for Posts assigned to this %s.', 'convertkit' ),
39 'category'
40 );
41 ?>
42 </p>
43 </div>
44 </div>
45
46 <div class="form-field term-description-wrap">
47 <label for="wp-convertkit-form-position"><?php esc_html_e( 'Display CovertKit Form on Archive?', 'convertkit' ); ?></label>
48
49 <select name="wp-convertkit[form_position]" id="wp-convertkit-form-position" size="1">
50 <option value="" selected><?php esc_attr_e( 'No', 'convertkit' ); ?></option>
51 <option value="before"><?php esc_attr_e( 'Before Posts', 'convertkit' ); ?></option>
52 <option value="after"><?php esc_attr_e( 'After Posts', 'convertkit' ); ?></option>
53 </select>
54 <p class="description">
55 <?php
56 esc_html_e( 'Whether to display the Form on this Category\'s archive page, above or below the main posts list.', 'convertkit' );
57 ?>
58 </p>
59
60 <?php
61 wp_nonce_field( 'wp-convertkit-save-meta', 'wp-convertkit-save-meta-nonce' );
62 ?>
63 </div>
64