Manage Social Media Links
You can add your own custom css frome here.
How to use
- First enter the location you want to search into the input box (E.g. 255, Willson Street,Caulfield)
- After entering the location click on the search button
- Now the address would be refected on the map
- Click on the update button to save the map
$_POST['txtcompany'], 'address'=>$_POST['txtaddress'], 'city'=>$_POST['txtcity'], 'zip'=>$_POST['txtzip'], 'state'=>$_POST['txtstate'], 'contact_number'=>$_POST['txtphone'], 'mobile'=>$_POST['txtmobile'], 'fax'=>$_POST['txtfax'],'email'=>$_POST['txtemail']);
update_option('contact_data', $contact_data);
//recaptcha
update_option('recaptcha_status', $_POST['txtrecaptchastatus']);
if($_POST['txtrecaptchastatus']=='Enabled')
{
if($_POST['txtprivatekey']!='')
{
update_option('privateKey',$_POST['txtprivatekey']);
}
if($_POST['txtpublickey']!='')
{
update_option('publicKey',$_POST['txtpublickey']);
}
if($_POST['txtrecaptchatheme']!='')
{
update_option('recaptcha_theme', $_POST['txtrecaptchatheme']);
}
}
//mail method
update_option('mail_method', $_POST['txtmailmtd']);
update_option('SMTP Host',$_POST['txthost']);
update_option('Port', $_POST['txtport']);
update_option('Mail Username', $_POST['txtmailuser']);
update_option('Mail Password', $_POST['txtmailpass']);
update_option('mail_success_msg', $_POST['txtsuccessmsg']);
update_option('mail_error_msg', $_POST['txtsuccessmsg']);
//social media links
update_option('twitter_link', $_POST['txttwitter']);
update_option('facebook_link', $_POST['txtfacebook']);
update_option('youtube_link', $_POST['txtyoutube']);
update_option('pinterest_link', $_POST['txtpinterest']);
update_option('dribble_link', $_POST['txtdribble']);
//custom user css
update_option('three_fifty_media_custom_user_css', $_POST['txtcustomcss']);
//map
if($_POST['txtlat']!='' && $_POST['txtlng']!='' && $_POST['txtmapname']!=''){
update_option('latitude', $_POST['txtlat']);
update_option('longitude', $_POST['txtlng']);
update_option('map_name', $_POST['txtmapname']);
}
custom_redirect();
}
}//theme option active check ends
//theme option disabled check starts
if(get_option('three_fifty_media_theme_options_status')=='disabled')
{
if(isset($_POST['addthemeoptions']))
{
three_firty_media_add_options();
update_option('three_fifty_media_theme_options_status','active');
$url=admin_url()."themes.php?page=threefifty-mgr";
echo "
";
}
?>