Adding Elements to a Single Page of Thesis Theme

by Darren on August 9, 2009

Say you want to add an element to just the home page of your Thesis Theme blog, it’s easy and here’s how you do it. Just add the code below to the area you want it to appear in OpenHook, or add it to the custom functions file. Then add your HTML. And dont’ forget to createyourown CSS styles. You can change this up to work on any page you want.

<?php

if (is_home())

{

echo “<div class=createyourown>

<!–insert your HTML here–>

</div>”;

}?>

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • FriendFeed
  • Ping.fm
  • Reddit
  • StumbleUpon
  • Technorati
  • Twitter

Comments on this entry are closed.

Previous post: They Were Delayed Inbound Links But What Counts Is That I Got Them

Next post: Rhett and Link in the 80’s Music Video