Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Modifying a button code for sending an sms

Featured Replies

Hi All
The theme I'm using is called Tesseract

I am using Wordpress 4.4.2
It has a couple buttons in the header
I am trying to modify the code for one of the buttons so that when the customer brings up my website on a smartphone they can easily send me a text

WordPress or my theme keeps deleting my modifications
(When this happened before with "click to call" code it was because I wasn't entering the code properly) I think maybe this is happening again I have tried two different code configurations but none stick

The button code I am trying to modify is as follows

<a href="/" class="button secondary-button">Secondary Button</a>

Here are the two different modification I have made after href=

 

<a href="sms:5551212" class="button secondary-button">Secondary Button</a>

 

<a href="sms://5551212" class="button secondary-button">Secondary Button</a>

 

In both cases the modifications get deleted

What am I doing wrong ?

Thanks
Novice

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.