forms" from the list navigation, click on it.
  • Click "Select" on the "Embedded" forms option.
  • Find the "Copy/paste onto your site" section.
  • Click anywhere in the box to select the code.
  • Press "ctrl + C" on a PC or "command + C" on a Mac to copy the code.
  • Paste it in following "MailChimp Form Code" field.
  • ', 'better-studio' ) , 'https://goo.gl/MU6UWn' ), 'id' => 'mailchimp_help', 'type' => 'info', 'state' => 'open', 'info-type' => 'help', 'show_on' => array( array( 'type=mailchimp', ) ) ); $fields['mailchimp_code'] = array( 'name' => __( 'MailChimp Form Code', 'better-studio' ), 'desc' => __( 'Read previous instruction for finding MailChimp form code.', 'better-studio' ), 'id' => 'mailchimp_code', 'type' => 'textarea', 'show_on' => array( array( 'type=mailchimp', ), ), ); } // // AWeber // { $fields['aweber_help'] = array( 'name' => __( 'Aweber Instructions', 'better-studio' ), 'std' => sprintf( __( '

    To integrate AWeber with Newsletter Pack, you need AWeber signup form code that you can find it with following steps:

    1. Log in to your AWeber account.
    2. From your account Dashboard, click Sign Up Forms in the navigation menu.
    3. Find the "Create a Sign Up Form" from the right and top section, click on it.
    4. Click "Select" on the "Embedded" forms option.
    5. Don\'t the settings and click on the "Go To Step 2" button in bottom of page.
    6. Enter a name for your newsletter sign up form and click on "Go To Step 3" button in bottom of page.
    7. Click on "Save Your Form" button to create the sign up form.
    8. Click on "I will Install My Form" button and click on the "Raw HTML Version" in the opened tab.
    9. Copy the full sign up form code.
    10. Paste it in following "AWeber Raw HTML Code" field.
    ', 'better-studio' ) , 'https://goo.gl/sjnBr2' ), 'id' => 'aweber_help', 'type' => 'info', 'state' => 'open', 'info-type' => 'help', 'show_on' => array( array( 'type=aweber', ) ) ); $fields['aweber_code'] = array( 'name' => __( 'AWeber Raw HTML Code', 'better-studio' ), 'desc' => __( 'Read previous instruction for finding AWeber code.', 'better-studio' ), 'id' => 'aweber_code', 'type' => 'textarea', 'show_on' => array( array( 'type=aweber', ), ), ); } // // Mailer Lite // { $fields['mailerlite_help'] = array( 'name' => __( 'Mailer Lite Instructions', 'better-studio' ), 'std' => sprintf( __( '

    To integrate Mailer Lite with Newsletter Pack, you need Mailer Lite signup form code that you can find it with following steps:

    1. Log in to your Mailer Lite account.
    2. From your account Dashboard, click Forms in the navigation menu.
    3. Find the "Create Popup" from the right and top section, click on the down arrow icon and select the "Create Embedded Form".
    4. Enter a name for sign up and click on "Save and continue".
    5. In the opened page select on "Create Embed Form" button.
    6. In the opened page select the "Subscriber groups" adn click on "Save and continue" button.
    7. Keep the newsletter form the default data and click on "Save" button.
    8. Your sign up form was created but you have to find the html code, Find the "Embed form into your website" and select on the "HTML" and copy code to your clipboard.
    9. Don\'t the settings and click on the "Go To Step 2" button in bottom of page.
    10. Paste it in following "Mailer Lite Raw HTML Code" field.
    ', 'better-studio' ) , 'https://goo.gl/Vk8LeK' ), 'id' => 'mailerlite_help', 'type' => 'info', 'state' => 'open', 'info-type' => 'help', 'show_on' => array( array( 'type=mailerlite', ) ) ); $fields['mailerlite_code'] = array( 'name' => __( 'Mailer Lite Raw HTML Code', 'better-studio' ), 'desc' => __( 'Read previous instruction for finding Mailer Lite code.', 'better-studio' ), 'id' => 'mailerlite_code', 'type' => 'textarea', 'show_on' => array( array( 'type=mailerlite', ), ), ); } // // Feedburber // { $fields['feedburner_id'] = array( 'name' => __( 'Feedburner ID', 'better-studio' ), 'desc' => __( 'Enter Feedburner ID.', 'better-studio' ), 'id' => 'feedburner_id', 'type' => 'text', 'show_on' => array( array( 'type=feedburner', ), ), ); } return $fields; } } add_filter( 'better-framework/metabox/bsnp_newsletter_style/config', 'bsnp_metabox_newsletter_style_config', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_style_config' ) ) { /** * Configs custom metaboxe * * @param $config * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_style_config( $config ) { return array( 'title' => __( 'Style & Layout', 'better-studio' ), 'pages' => array( 'bsnp-newsletter' ), 'context' => 'normal', 'prefix' => false, 'priority' => 'high' ); } // bsnp_metabox_newsletter_style_config } // if add_filter( 'better-framework/metabox/bsnp_newsletter_style/std', 'bsnp_metabox_newsletter_style_std', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_style_std' ) ) { /** * Configs metaboxe STD's * * @param $fields * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_style_std( $fields ) { /** * Style */ $fields['style'] = array( 'std' => 'style-1', ); $fields['color'] = array( 'std' => '', ); /** * Texts */ $fields['text_title'] = array( 'std' => 'Subscribe to our newsletter', ); $fields['text_desc'] = array( 'std' => 'Sign up here to get the latest news, updates and special offers delivered directly to your inbox.', ); $fields['text_input'] = array( 'std' => 'Enter your email address', ); $fields['text_button'] = array( 'std' => 'Subscribe', ); $fields['text_after'] = array( 'std' => 'You can unsubscribe at any time', ); /** * Social Icons */ $fields['social_icons'] = array( 'std' => 1, ); $fields['social_icons_style'] = array( 'std' => 't1-s1', ); $fields['social_icons_sites'] = array( 'std' => array( 'facebook' => '1', 'twitter' => '1', 'google' => '1', 'youtube' => '1', 'instagram' => '1', ), ); return $fields; } } add_filter( 'better-framework/metabox/bsnp_newsletter_style/fields', 'bsnp_metabox_newsletter_style_fields', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_style_fields' ) ) { /** * Configs metabox fields * * @param $fields * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_style_fields( $fields ) { $fields['newsletter_style'] = array( 'name' => __( 'Style', 'better-studio' ), 'id' => 'newsletter_style', 'type' => 'tab', 'icon' => 'bsai-paint', ); $fields['style'] = array( 'name' => __( 'Newsletter Style', 'better-studio' ), 'id' => 'style', 'type' => 'select_popup', 'deferred-options' => array( 'callback' => 'bsnp_get_newsletters_style_option', 'args' => array( false, ), ), 'texts' => array( 'modal_title' => __( 'Choose Newsletter Style', 'better-studio' ), 'box_pre_title' => __( 'Active style', 'better-studio' ), 'box_button' => __( 'Change Style', 'better-studio' ), ), 'desc' => __( 'Select a newsletter style.', 'better-studio' ), 'column_class' => 'three-column', ); $fields['color'] = array( 'name' => __( 'Color', 'better-studio' ), 'id' => 'color', 'type' => 'color', 'desc' => __( 'Highlight color of newsletter.', 'better-studio' ) ); $fields[] = array( 'name' => __( 'Texts (Translations)', 'better-studio' ), 'type' => 'heading', 'layout' => 'style-1', 'id' => '_heading', ); $fields['text_title'] = array( 'name' => __( 'Heading', 'better-studio' ), 'id' => 'text_title', 'type' => 'text', 'desc' => __( '', 'better-studio' ) ); $fields['text_desc'] = array( 'name' => __( 'Description', 'better-studio' ), 'id' => 'text_desc', 'type' => 'text', 'desc' => __( '', 'better-studio' ) ); $fields['text_input'] = array( 'name' => __( 'Email Input', 'better-studio' ), 'id' => 'text_input', 'type' => 'text', 'desc' => __( '', 'better-studio' ) ); $fields['text_button'] = array( 'name' => __( 'Subscribe button', 'better-studio' ), 'id' => 'text_button', 'type' => 'text', 'desc' => __( '', 'better-studio' ) ); $fields['text_after'] = array( 'name' => __( 'After form text', 'better-studio' ), 'id' => 'text_after', 'type' => 'text', 'desc' => __( '', 'better-studio' ) ); $fields['newsletter_icons'] = array( 'name' => __( 'Social Icons', 'better-studio' ), 'id' => 'newsletter_icons', 'type' => 'tab', 'icon' => 'bsai-sitemap', ); $fields['social_icons'] = array( 'name' => __( 'Show Social Icons in Newsletter?', 'better-studio' ), 'id' => 'social_icons', 'desc' => __( '', 'better-studio' ), 'type' => 'switch', 'on-label' => __( 'Yes', 'better-studio' ), 'off-label' => __( 'No', 'better-studio' ), ); $fields['social_icons_style'] = array( 'name' => __( 'Icons style', 'better-studio' ), 'id' => 'social_icons_style', 'type' => 'select_popup', 'deferred-options' => array( 'callback' => 'bsnp_get_newsletters_si_style_option', 'args' => array( false, ), ), 'texts' => array( 'modal_title' => __( 'Choose Icon Style', 'better-studio' ), 'box_pre_title' => __( 'Active style', 'better-studio' ), 'box_button' => __( 'Change Style', 'better-studio' ), ), 'desc' => __( 'Select a icon style.', 'better-studio' ), 'column_class' => 'three-column', 'show_on' => array( array( 'social_icons=1', ), ), ); if ( class_exists( 'Better_Social_Counter' ) && class_exists( 'Better_Social_Counter_Data_Manager' ) ) { $fields['social_icons_sites'] = array( 'name' => __( 'Sort and Active Sites', 'better-studio' ), 'id' => 'social_icons_sites', 'desc' => sprintf( __( 'Select & sort sites you will to show them in newsletter.

    For activating site you should enter your information in Better Social Counter Panel. ', 'better-studio' ), get_admin_url( null, 'admin.php?page=better-studio/better-social-counter' ) ), 'type' => 'sorter_checkbox', 'deferred-options' => array( 'callback' => 'bsnp_social_counter_options_list_callback', ), 'section_class' => 'better-social-counter-sorter', 'show_on' => array( array( 'social_icons=1', ), ), ); } else { $fields['social_icons_sites_help'] = array( 'name' => __( 'Social Icons Instructions', 'better-studio' ), 'id' => 'social_icons_sites_help', 'type' => 'info', 'state' => 'open', 'std' => __( '

    For adding social icons in top bar you should first install and active Better Social Counter plugin.

    ', 'better-studio' ), 'info-type' => 'help', 'section_class' => 'widefat', 'show_on' => array( array( 'social_icons=1', ), ), ); } return $fields; } } add_filter( 'better-framework/metabox/bsnp_newsletter_post_settings/config', 'bsnp_metabox_newsletter_post_settings_config', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_post_settings_config' ) ) { /** * Configs custom metabox * * @param $config * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_post_settings_config( $config ) { return array( 'title' => __( 'Newsletter Pack', 'better-studio' ), 'pages' => array( 'post' ), 'context' => 'normal', 'prefix' => false, 'priority' => 'low' ); } // bsnp_metabox_newsletter_config } // if add_filter( 'better-framework/metabox/bsnp_newsletter_post_settings/std', 'bsnp_metabox_newsletter_post_settings_std', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_post_settings_std' ) ) { /** * Configs metaboxe STD's * * @param $fields * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_post_settings_std( $fields ) { $fields['bsnp_disable_all'] = array( 'std' => '0', 'save-std' => false, ); return $fields; } } add_filter( 'better-framework/metabox/bsnp_newsletter_post_settings/fields', 'bsnp_metabox_newsletter_post_settings_fields', 10 ); if ( ! function_exists( 'bsnp_metabox_newsletter_post_settings_fields' ) ) { /** * Configs metabox fields * * @param $fields * * @since 1.0 * * @return array */ function bsnp_metabox_newsletter_post_settings_fields( $fields ) { $fields['bsnp_disable_all'] = array( 'name' => __( 'Disable All Newsletters?', 'better-studio' ), 'id' => 'bsnp_disable_all', 'type' => 'switch', 'on-label' => __( 'Yes', 'better-studio' ), 'off-label' => __( 'No', 'better-studio' ), 'desc' => __( 'Hides all newsletter in this post.', 'better-studio' ), ); return $fields; } }