Support » Plugin: Site Offline Or Coming Soon Or Maintenance Mode » Phone & Email links no active

  • Resolved thejasonparker

    (@thejasonparker)


    Hi,

    Can you tell me if you have plans to make the phone and email links active by adding mailto: and tel: links to them as they are just text at the moment?

    The email link is simple to do but you would need to allow users to have two input options for the phone.

    One would be for the number to call and the other how it is to be displayed on the page. For example if my number was a UK number and I wanted to appear as “0800 555 666” the link would need to be “tel:+44800555666” with the UK calling code, no spaces and the leading zero removed. The easiest way to do this is give the user the option to have a ‘display number’ and ‘call number’

    I do think this is needed and wouldn’t be too much to add so hope you find time to do it 🙂

    Thanks – Jason

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author chandrashekharsahu

    (@chandrashekharsahu)

    Hi Jason

    Thanks for the feedback. I will try to add this features in the next update.

    For the mail link it’s easy…

    on line 163 in site-offline/output/index.php put:
    <p><a href="mailto:<?php echo $sahu_so_contact['sahu_so_email']; ?>" ><?php echo $sahu_so_contact['sahu_so_email']; ?></a></p>

    And in css:

    .scroll-page a, .scroll-page a:hover {
        color: #5b5b5b;
    font-size: 18px;
    padding: 0px;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.