posts; $ata_settings = ata_read_options(); if ( ( isset( $_POST['ata_save'] ) ) && ( check_admin_referer( 'add-to-all-admin-ops' ) ) ) { $ata_settings['addcredit'] = ( isset( $_POST['addcredit'] ) ) ? true : false; // Save Header related options $ata_settings['head_CSS'] = $_POST['head_CSS']; $ata_settings['head_other'] = $_POST['head_other']; // Save Content related options $ata_settings['content_htmlbefore'] = $_POST['content_htmlbefore']; $ata_settings['content_htmlafter'] = $_POST['content_htmlafter']; $ata_settings['content_addhtmlbefore'] = ( isset( $_POST['content_addhtmlbefore'] ) ) ? true : false; $ata_settings['content_addhtmlafter'] = ( isset( $_POST['content_addhtmlafter'] ) ) ? true : false; $ata_settings['content_htmlbeforeS'] = $_POST['content_htmlbeforeS']; $ata_settings['content_htmlafterS'] = $_POST['content_htmlafterS']; $ata_settings['content_addhtmlbeforeS'] = ( isset( $_POST['content_addhtmlbeforeS'] ) ) ? true : false; $ata_settings['content_addhtmlafterS'] = ( isset( $_POST['content_addhtmlafterS'] ) ) ? true : false; $ata_settings['content_filter_priority'] = intval( $_POST['content_filter_priority'] ); // Save Feed related options $ata_settings['feed_htmlbefore'] = $_POST['feed_htmlbefore']; $ata_settings['feed_htmlafter'] = $_POST['feed_htmlafter']; $ata_settings['feed_copyrightnotice'] = $_POST['feed_copyrightnotice']; $ata_settings['feed_addhtmlbefore'] = ( isset( $_POST['feed_addhtmlbefore'] ) ) ? true : false; $ata_settings['feed_addhtmlafter'] = ( isset( $_POST['feed_addhtmlafter'] ) ) ? true : false; $ata_settings['feed_addtitle'] = (isset( $_POST['feed_addtitle'] ) ) ? true : false; $ata_settings['feed_titletext'] = $_POST['feed_titletext']; $ata_settings['feed_addcopyright'] = ( isset( $_POST['feed_addcopyright'] ) ) ? true : false; // Save Footer related options $ata_settings['ft_other'] = $_POST['ft_other']; // 3rd party options $ata_settings['tp_sc_project'] = $_POST['tp_sc_project']; $ata_settings['tp_sc_security'] = $_POST['tp_sc_security']; $ata_settings['tp_ga_uacct'] = $_POST['tp_ga_uacct']; $ata_settings['tp_ga_domain'] = $_POST['tp_ga_domain']; $ata_settings['tp_ga_ua'] = isset( $_POST['tp_ga_ua'] ) ? true : false; $ata_settings['tp_kontera_ID'] = $_POST['tp_kontera_ID']; $ata_settings['tp_kontera_linkcolor'] = $_POST['tp_kontera_linkcolor']; $ata_settings['tp_kontera_addZT'] = ( isset( $_POST['tp_kontera_addZT'] ) ) ? true : false; $ata_settings['tp_tynt_id'] = $_POST['tp_tynt_id']; update_option( 'ald_ata_settings', $ata_settings ); $str = '

'. __( 'Options saved successfully.', 'add-to-all' ) .'

'; echo $str; } if ( ( isset( $_POST['ata_default'] ) ) && ( check_admin_referer( 'add-to-all-admin-ops' ) ) ) { delete_option( 'ald_ata_settings' ); $ata_settings = ata_default_options(); update_option( 'ald_ata_settings', $ata_settings ); $str = '

'. __( 'Options set to Default.', 'add-to-all' ) .'

'; echo $str; } ?>


/>

Universal Analytics Upgrade Center to know more', 'add-to-footer' ), esc_url( 'https://developers.google.com/analytics/devguides/collection/upgrade/' ) ); ?>

/>

Tynt.push('ID IS HERE') in the Install Code", 'add-to-all' ); ?>



style tags', 'add-to-all' ); ?>
wp_head:', 'add-to-all' ); ?>






wp_footer:', 'add-to-all' ); ?>





/>