WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Clickable Phone Number for Mobile (4 posts)

  1. 144icom
    Member
    Posted 7 months ago #

    A clickable Phone Number or Button on the Startpage (Header)for the mobile View, would be very important

    like this:
    +43 (0)1 699100001

    http://wordpress.org/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 7 months ago #

    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

  3. 144icom
    Member
    Posted 7 months ago #

    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

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 7 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.