Form Configuration step. * * @package ConvertKit * @author ConvertKit */ // If no Forms exist on the ConvertKit account, show the user how to add a Form to ConvertKit, // with an option to refresh this page so that they can then select the Form to be displayed on e.g. Posts. if ( ! $this->forms->exist() ) { ?>


%2$s', esc_html__( 'Not sure how to do this in Kit?', 'convertkit' ), esc_html__( 'Follow our step by step documentation', 'convertkit' ) ); ?>


forms->output_select_field_all( 'post_form', 'wp-convertkit-form-posts', array( 'convertkit-select2', 'convertkit-preview-output-link', 'widefat', ), esc_attr( $this->settings->get_default_form( 'post' ) ), array( '0' => esc_html__( 'Don\'t display an email subscription form on posts.', 'convertkit' ), ), array( 'data-target' => '#convertkit-preview-form-post', 'data-link' => esc_attr( $this->preview_post_url ) . '&convertkit_form_id=', ) ); ?>

preview_post_url ) { printf( '%s %s %s', esc_html__( 'Select a form above.', 'convertkit' ), '' . esc_html__( 'Click here', 'convertkit' ) . '', esc_html__( 'to preview how this will look on individual posts.', 'convertkit' ) ); } else { esc_html_e( 'Select a form above.', 'convertkit' ); } ?>

forms->output_select_field_all( 'page_form', 'wp-convertkit-form-pages', array( 'convertkit-select2', 'convertkit-preview-output-link', 'widefat', ), esc_attr( $this->settings->get_default_form( 'page' ) ), array( '0' => esc_html__( 'Don\'t display an email subscription form on pages.', 'convertkit' ), ), array( 'data-target' => '#convertkit-preview-form-page', 'data-link' => esc_attr( $this->preview_page_url ) . '&convertkit_form_id=', ) ); ?>

preview_page_url ) { printf( '%s %s %s', esc_html__( 'Select a form above.', 'convertkit' ), '' . esc_html__( 'Click here', 'convertkit' ) . '', esc_html__( 'to preview how this will look on individual pages.', 'convertkit' ) ); } else { esc_html_e( 'Select a form above.', 'convertkit' ); } ?>

%s', esc_html__( 'By allowing us to collect usage data, we can better understand which WordPress configurations, themes and plugins we should test. Complete documentation on usage tracking can be found', 'convertkit' ), esc_html__( 'here', 'convertkit' ) ); ?>