• Resolved 1-jah

    (@1-jah)


    Good day.

    So, still loving the theme and how quick the updates came in fixing the bugs. I was wondering though, in the top bar small announcement options I had put in my client’s contact info and on the mobile view they are clickable to call or email, but not on the desktop view. Naturally both the client and I would like the email to be clickable. I tried to add the html to the email to make it clickable but it displays the html in the front end. How do I fix it to accept the html?

    Also, your email icon in the social area does not work. We would not want it there anyways, but thought I’d point that out.

    Thanks and have a good day.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Styled Themes

    (@gejay)

    Hi 1-jah,

    You needn’t to change in HTML, if you want to make your phone number and email clickable then please follow the following steps:
    Goto Dashboard=>Appearance=>Customize=>Header Top Bar=>Small Announcement Content=> and please put the code like this
    <a href="tel: 9849777371">9849777371</a>|<a href="mailto: [email protected]">[email protected]</a>
    Then save it.

    Thanks

    Thread Starter 1-jah

    (@1-jah)

    Ummmm….I did thay and I that I believe is called html. And the <a href= etc displays in the front end.

    Thread Starter 1-jah

    (@1-jah)

    I just did as your instructions were and left it for you to see for yourself. I appreciate your advice on simple html, but I’m confident I knew this piece of code. So please, I need this fixed asap as the client needs the site transferred today.

    Please see for yourself at https://jah-inc.com/taimua

    Thread Starter 1-jah

    (@1-jah)

    Well I transferred the site to my client’s hosting. Hopefully the theme developer can tell me about this email being clickable. This is exactly why I rarely buy premium themes or plugins. If the basic functions don’t work, why should I trust that the premium will work without endless email support? I mean people can’t even give you timely support here. Oh well. You get back to me great. If not, then I guess this amateur will figure it out again like usual.

    Sorry I can’t help you with this 1-jah. Your code works perfectly when tested on my main page, so can’t see why it doesn’t on your top bar.

    Thread Starter 1-jah

    (@1-jah)

    No worries. I’ll look into a few variations starting with a copy of the old theme and a copy of your latest release. Then I’ll look into the custom css (highly unlikely), then last but not least, if hosting messed it up somehow. Now…you know what would cut all that bs down for me and take you a few secs to do? Tell me where the file is that contains the code that functions weather or not if the input in theme options take html or short codes etc rather than just saying you can’t help because it works on your custom theme. That would be the absolute only thing I need from you and look, just be just a few secs to tell me the file name.

    Can you at the minimum do that for me as I can manipulate code, debug, but have sh** for skills in the development side?

    If not, thanks anyways. Still love the theme. Great work overall. I’m just tired and cranky and want this last thing fixed.

    Theme Author Styled Themes

    (@gejay)

    Hi 1-jah,

    Please re-write the css because your code is showing like this
    Email: <a href="mailto:[email protected]">[email protected]</a>
    But it should be like this
    Email:<a href="mailto:[email protected]">[email protected]</a>
    So please try again.

    Thanks

    Thread Starter 1-jah

    (@1-jah)

    Hi StyledThemes,

    I copied your example exactly and still no luck.

    Thanks for taking the time to looking into this. I really appreciate it, but this doesn’t look hopeful so far.

    Theme Author Styled Themes

    (@gejay)

    Hi 1-jah,

    We found the bug in our theme, so we will update the theme with bug fixing in our next version. So please stick in our social media. And sorry for the trouble, but now please use the simply email-address only ([email protected]).
    If you are familiar with coding you may follow the following steps:
    Go to file-directory/themes/flat-responsive/flat-responsive/templates/template_functions.php line no. 38 then please
    replace this code
    <?php echo esc_attr(get_theme_mod(‘style_announcement’)); ?>
    with
    <?php echo get_theme_mod(‘style_announcement’); ?>

    Thanks

    Thread Starter 1-jah

    (@1-jah)

    StyledThemes,

    Ok, thanks. Glad to see it wasn’t just my imagination. I’m great with altering codes. I’ll do this today. Thanks for the help and great support.

    Have a great day.

    – 1-jah

    Thread Starter 1-jah

    (@1-jah)

    Worked like a charm. Thanks again. Have a great day.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adding HTML to option fields’ is closed to new replies.