I am building sharing buttons for example <a href="https://twitter.com/share?url=http%3A%2F%2Fmy-site.com%2Fhome&text=Awesome site:" name="Share on Twitter" target="_blank"><img src="http://my-site.com/wp-content/themes/atahualpa/images/social/Twitter.png"</img></a>
building sharing buttons need php for 'this page'
5
I am building sharing buttons for example
<a href="https://twitter.com/share?url=http%3A%2F%2Fmy-site.com%2Fhome&text=Awesome site:" name="Share on Twitter" target="_blank"><img src="http://my-site.com/wp-content/themes/atahualpa/images/social/Twitter.png"</img></a>
What I want to do is use php in the ?url=
portion to specify the current page.
<a href="https://twitter.com/share?url=http%3A%2F%2Fmy-site.com%2Fhome&text=Awesome site:" name="Share on Twitter" target="_blank"><img src="http://my-site.com/wp-content/themes/atahualpa/images/social/Twitter.png"</img></a>
What I want to do is use php in the ?url=
portion to specify the current page.
- Brandon Tanner
- [ 1 ] Thanks
- [1] reply
- rhinocl
- [1] reply
- galihkartiwa
- [ 1 ] Thanks
Next Topics on Trending Feed
-
5