projects
/
WP-Themes
/
petoskeyarea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1561b3e
)
adding mobile active number function for telephone numbers
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 8 Oct 2019 16:54:10 +0000
(12:54 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 8 Oct 2019 16:54:10 +0000
(12:54 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
47106a5
..
f4f34ad
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-430,4
+430,7
@@
function text_excerpt($text, $max_length = 155, $cut_off = ' ...', $keep_word =
}
return $text;
+}
+function mobile_active($numberString){
+ return "tel:".str_replace(array('.', ',','-'), '' , $numberString);
}
\ No newline at end of file