Tag: twitter
Do You Think You Know Emma Taylor?
by tw2113 on Jun.10, 2010, under Creativity, Web Design-Development
I will be the first to admit here, that thinking of unique and creative questions every couple weeks can be a bit difficult. However, sometimes they just flow out of me. It’s even easier when I can play off characteristics of the interviewee. I do what I can to frame my questions in ways that show that I’ve done my research and show that I had each interviewee specifically in mind for that question. I am proud to say that I was able to do that a number of times with Emtaylor (Twitter). Shall we get started and get to know Emma a bit better?
Do you think you know Grace Smith?
by tw2113 on Apr.27, 2010, under Creativity, Web Design-Development
I really can’t say how much you know her, how could I? The best I can really do besides recommending that you go get to know her yourself at gracesmith (Twitter), would be to read the following questions posed to her recently, so lets get to it.
Obviously, you are a twitterholic who absolutely refuses (continue reading…)
Just a simple twitter/identica shortcode
by tw2113 on Apr.22, 2010, under Freedom, Ideas, Passions
I realized that I will likely reference many twitter people in posts and I think it is common courtesy to link to their profile so that you can go check them out if you want. However, I also want to be lazy and not have to type out their full twitter url all the time. Thus I decided that a shortcode would be nice and efficient.
With the following code,
<?php
function twitter_shortcode( $atts, $content = null ) {
return '<a href="http://twitter.com/' . $content . '" title="' . $content . '\'s Twitter Profile">' . $content . '</a>';
}
add_shortcode('twitter', 'twitter_shortcode');
?>
I can wrap a username in [twitter] [/twitter] and have it output the full link, like this (Twitter)
Edit
I have since realized that this is perfectly capable of working with identi.ca as well. For wordpress users of Identi.ca, copy/paste the following code into your functions.php file. It will work the exact same way regarding wrapping the user ID
<?php
function identica_shortcode( $atts, $content = null ) {
return '<a href="http://identi.ca/' . $content . '" title="' . $content . '\'s Identi.ca Profile">' . $content . '</a>';
}
add_shortcode('identica', 'identica_shortcode');
?>
Like so: (Identica)




