Support » Plugin: Jetpack by WordPress.com » Clickable Phone Number for Mobile

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    You can add your own custom content to the Mobile Theme by following the instructions here:
    http://jetpack.me/2013/06/27/customize-mobile-theme/#throughactionsandfilters

    Hi jeremy
    thanks for your reply!
    i’m not experienced in coding. would you provide the complete code (clickable Phone Number) and where to insert it?
    It should only appear in the mobile view
    thanks a lot
    susan

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    In the tutorial I gave you earlier, you’ll notice a function named jetpackme_author_image. Since you don’t want to to insert an author image but a phone number, you’ll need to replace this function by your own. Your function should look like this:

    function jetpackme_phone_call() {
        echo '<a href="tel:+431699100001">+43 (0)1 699100001</a>';
    }

    If you do not feel comfortable editing PHP code, I would suggest looking for a WordPress professional here:
    http://jobs.wordpress.net/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clickable Phone Number for Mobile’ is closed to new replies.