Jiew Meng

Web Developer, Computer Science Student

1 Jun 2011

marichan7109 asked: I'm using you theme Comic, how can i activate the facebook and twitter icons? They appear in the css code, but not in the web design, thankx!

You can enable Twitter in the Appearance tab > Twitter name. I dont think I added Facebook, for some reason. Since you have knowledge of CSS, you can add Facebook support easily … just learn from the current code, search “twitter”.

On approx line 29

<meta name="text:Twitter name" content="" />

This adds a “Text Param” called “Twitter name” under your Appearance tab.

On approx line 922

{block:IfTwitterName}
<li><a href="http://twitter.com/{text:Twitter name}"><img src="http://static.tumblr.com/ikeq9mi/g8Wl4e9h1/twitter.png" />Twitter</a></li>
{/block:IfTwitterName}

This tells Tumblr:

  1. if Twitter name is filled, output the link
  2. {text:Twitter name} grabs the Twitter name

You will need to grab a facebook icon tho,

Hope it helps

Notes

  1. jiewmeng posted this

Search

Loading