Reply To: use html in contact info field in header settings

forums forums Circle Flip Support use html in contact info field in header settings Reply To: use html in contact info field in header settings


Omar
Keymaster
#1941

It is pretty easy if you want to add it 😀 but as most users are non-html-savvy as you mentioned, I would prefer to leave the default as is.

You can simply edit the outcome of this Contact Link Option in the circleflip/inc/circle-flip-actions.php
for your header style 4

and change this block
if(cr_get_option('header_contact_link_settings')){
echo "<p><a href='".cr_get_option('header_contact_link_settings')."'>".cr_get_option('header_contact_settings')."</a></p>";
}else{
echo "<p>".cr_get_option('header_contact_settings')."</p>";
}


With

if(cr_get_option('header_contact_link_settings')){
echo cr_get_option('header_contact_link_settings');
}else{
echo "<p>".cr_get_option('header_contact_settings')."</p>";
}

That would read-out whatever you type in, but please keep in mind that this file will change every time you update, so keep a backup just in case.

Hope I helped.