Shortcode Help
-
I would like to create a shortcode where
[fburl]username[/fburl]
would return this code: <img src=”/wp-images/post-facebook.png” border=”0″>
*** This way the entered username within the shortcode is entered in the stated URL. I would also like:
[twiturl]username[/twiturl]
would return this code: <img src=”/wp-images/post-twitter.png” border=”0″>
My anticipation is to use this within my posts just after certain texts that I want to provide links to their profiles. I do not want to enter all that coding for each one, over and over. I would like to just include the username and that is it.
I would truly appreciate any help from this. I have spent a few hours on tutorials and videos, and just become clueless.
Thanks
- The topic ‘Shortcode Help’ is closed to new replies.