Archive for the 'code' Category



Theme Template Codes Posted

Sunday 13 August 2006 @ 3:02 pm

By popular demand (Thanks to Andy for the idea), I’ve created Wordpress Pages that contain the complete code for the innerblogger.com theme. This enables my readers to check my code against theirs while experimenting with Adsense placements or other stuff that needs code editing. I’ll update these whenever I make changes so you’ll see immediately […]

Continue reading



Make Your Blog Personal

Monday 7 August 2006 @ 7:16 pm

Great blogs have one thing in common: They are personal. There is a living, breathing individual writing the entries, and the blog reflects the author’s creative personality. When readers visit a blog, they like to see some information about the author. To show that the blog’s author cares about his/her readers, a the blogger’s […]

Continue reading



Finalizing the Adsense Code on Your Blog

Monday 7 August 2006 @ 4:21 pm

Let’s finish up with updating the Adsense code on the Adsense Minded Wordpress Theme.
We’ve still got the centerbar dummy ad. Let’s replace that with our own code.
First, go to your Google Adsense account, and as previously described, hit Adsense Setup, Adsense for Content, Text and Image Ad Unit, then choose the 160×200 skyscraper, and the […]

Continue reading



Adding Referral Ad Units in Wordpress Template

Thursday 3 August 2006 @ 11:32 am

I’m going to add a Google Adwords referral unit in my template. The result will be visible on the top right, in the header. Whenever someone purchases adwords services through this link, I will receive $20 in my Adsense account. It’s not much, but it’s worth having up there and I like to remind my […]

Continue reading



Show a List of Previous Posts in Sidebar

Thursday 3 August 2006 @ 9:53 am

I’m going to add a list of 15 previous posts in the sidebar. I tried using the previous posts plugin, but I kept getting syntax errors. So what I did instead was just added the following lines to my sidebar template (go to edit theme, then choose sidebar.php)

<br>
<div class=”blocktitle”>Recent Posts</div>
   <div class=”block”>
     <div class=”menu”>
       <ul>
            <?php
              $posts = get_posts(’numberposts=15′);
              foreach($posts as $post) :
            ?>
      <li><a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a></li>
      <?php endforeach; ?>
      
       </ul>
      </div>
   </div> 

You can just copy-paste the above into your […]

Continue reading



Next Posts »»
Google
 
Web innerblogger.com