Tweaks for the Tiga theme for Wordpress

Some hacks that I had to do on WordPress and tiga to make it look right on my install

  1. To add more than one Picture to the left side in a column I had to edit the /wp-content/themes/tiga/sidebar.php
    and added:

    <!– Put the code for your sidebar content below here! –>
    < ?php global $falbum; ?>
    <div class=”left-widget-title”>Pictures</div><!– This is optional –>
    <div class=”left-widget”>
    <div class=”clearfix”>
    < ?php echo $falbum->show_random(4,”,1,’s’);?>
    </div>
    </div>

    To customize the random pics go here or here for recent pics

  2. To add the banner at the middle top of every page go and edit :

    <!– Begin - Flickr Badge –>
    <!– This is for my personal use and can be removed –>
    <div class=”center-widget”>
    <div class=”google-ads”>
    <script type=”text/javascript”><!–
    google_ad_client = “pub-9360264097731242″;
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = “468×60_as”;
    google_ad_type = “text_image”;
    google_ad_channel =”";
    google_color_border = “536F87″;
    google_color_bg = “D5DCE2″;
    google_color_link = “FF3300″;
    google_color_url = “000000″;
    google_color_text = “536F87″;
    //–></script>
    <script type=”text/javascript”
    src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
    </script>
    </div>
    </div>

    - notice the google-ads class to make it center

  3. for some odd reason the left side was ovelaping the gallery and pictures so I had to go and edit: wp-content/plugins/falbum/wp/album.php

    and add the clearfix class to it… so looks like:

    <div id=”content” class=”narrowcolumn”>
    <div class=”center-widget”>
    <div class=”clearfix”>
    < ?php

    $falbum->show_photos();

    ?>
    </div>
    </div>
    </div>

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live

Leave a Reply

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>