admin管理员组文章数量:1130349
I do not have coding experience only what I've learned to be able to modify my WP themes. I am stuck on the following issue. I'd like to add text and a call to action button to the featured image on my static homepage.
I'm fine using the page title as the text but I need to be able to add the call to action button button below the text.
Is this achievable by simply adding code to my custom CSS and/or one of the php files? If yes, please let me know what code I could use.
Thank you in advance for any assistance or feedback.
I do not have coding experience only what I've learned to be able to modify my WP themes. I am stuck on the following issue. I'd like to add text and a call to action button to the featured image on my static homepage.
I'm fine using the page title as the text but I need to be able to add the call to action button button below the text.
Is this achievable by simply adding code to my custom CSS and/or one of the php files? If yes, please let me know what code I could use.
Thank you in advance for any assistance or feedback.
Share Improve this question edited Sep 5, 2017 at 23:04 Alana asked Sep 1, 2017 at 5:36 AlanaAlana 11 bronze badge 1- I could not add my site's URL in the initial question. This is my site, if it will be helpful: go2l.ink/1jhA – Alana Commented Sep 1, 2017 at 5:41
3 Answers
Reset to default 1If your theme allow you to edit the text displayed on your home page, when you just need to add a a link.
A click to call link is a simple HTML link, except that the value of the href attribute needs to refer to the "tel" protocol:
<a href="tel:XXXXXXXXXXXXX">Call Us</a>
Where "XXXXXXXXXXXXX" is your phone number.
If you only use the graphic interface, simply write "Call Us", highlight it and click on the button to add a link, and put "tel:XXXXXXXXXX" as the url.
I might be too late to answer. But there are two different methods for solving your issue.
1. Manual Method - You can manually add the call to action button to your WordPress website by using these codes:
<!--This link will work on Android and iPhone. It will be visible to desktop users but will result in an error when clicked
-->
<a href="tel:+15555551212">+1 (555) 555-1212</a>
<a href="tel:15555551212">Call Me</a>
2. Plugin Method - You can use a plugin, like Call Now Button, to add the call to action button. It offers you several useful customization features. You can find the detailed steps for using it right here.
To include a click to call button on the image you can use the following code
<a href="tel:+1234567890"><img src="image.jpg"></a>
or for a text button use
<a href="tel:+1234567890">+123456789</a>
I do not have coding experience only what I've learned to be able to modify my WP themes. I am stuck on the following issue. I'd like to add text and a call to action button to the featured image on my static homepage.
I'm fine using the page title as the text but I need to be able to add the call to action button button below the text.
Is this achievable by simply adding code to my custom CSS and/or one of the php files? If yes, please let me know what code I could use.
Thank you in advance for any assistance or feedback.
I do not have coding experience only what I've learned to be able to modify my WP themes. I am stuck on the following issue. I'd like to add text and a call to action button to the featured image on my static homepage.
I'm fine using the page title as the text but I need to be able to add the call to action button button below the text.
Is this achievable by simply adding code to my custom CSS and/or one of the php files? If yes, please let me know what code I could use.
Thank you in advance for any assistance or feedback.
Share Improve this question edited Sep 5, 2017 at 23:04 Alana asked Sep 1, 2017 at 5:36 AlanaAlana 11 bronze badge 1- I could not add my site's URL in the initial question. This is my site, if it will be helpful: go2l.ink/1jhA – Alana Commented Sep 1, 2017 at 5:41
3 Answers
Reset to default 1If your theme allow you to edit the text displayed on your home page, when you just need to add a a link.
A click to call link is a simple HTML link, except that the value of the href attribute needs to refer to the "tel" protocol:
<a href="tel:XXXXXXXXXXXXX">Call Us</a>
Where "XXXXXXXXXXXXX" is your phone number.
If you only use the graphic interface, simply write "Call Us", highlight it and click on the button to add a link, and put "tel:XXXXXXXXXX" as the url.
I might be too late to answer. But there are two different methods for solving your issue.
1. Manual Method - You can manually add the call to action button to your WordPress website by using these codes:
<!--This link will work on Android and iPhone. It will be visible to desktop users but will result in an error when clicked
-->
<a href="tel:+15555551212">+1 (555) 555-1212</a>
<a href="tel:15555551212">Call Me</a>
2. Plugin Method - You can use a plugin, like Call Now Button, to add the call to action button. It offers you several useful customization features. You can find the detailed steps for using it right here.
To include a click to call button on the image you can use the following code
<a href="tel:+1234567890"><img src="image.jpg"></a>
or for a text button use
<a href="tel:+1234567890">+123456789</a>
本文标签: post thumbnailsHow to add text amp call to action button to featured image on homepage
版权声明:本文标题:post thumbnails - How to add text & call to action button to featured image on homepage? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749098703a2315662.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论