It's random, too damn random.


Capricorn Reaches 5000+ Downloads WordPress

February
27
2010
Posted by Shaibani | Tags: , ,

Capricorn, my first WordPress theme, has hit the 5000+ downloads mark. Just sayin’!

3009 Blog

July
2
2009
Posted by Shaibani | Tags: , ,

I started the theme a while back, and finished it now. Tell me what you think by either email, comments, or Twitter. Press Ctrl + F5 if you don’t see the changes.

Will be releasing it soon. I think. ;)

Capricorn Tweaking + Poll Tutorials, WordPress

April
8
2009
Posted by Shaibani | Tags: ,

AaronJenkin.com

I got an email today from Aaron, telling me to take a look at what he’s done with my WordPress theme Capricorn. What awesome tweaks he’s made! Definitely worth checking out. ;-)

If you’ve downloaded Capricorn and have tweaked it (not simple tweaks like changing the font)- contact me and I’ll take a look at it [and possibly post it]. :-)

Now, you all remember Big-Show.NET, right? Okay- so I’ve had thoughts of re-opening it. Would you like to see it back?

Would you like to see Big-Show.NET back?

  • Yes (100%, 11 Votes)
  • No (0%, 0 Votes)

Total Voters: 11

Loading ... Loading ...

Capricorn Hits Over 2000 Downloads WordPress

April
1
2009
Posted by Shaibani | Tags: ,

Capricorn hits 1000 more downloads. :-D

1000 + 1000 = 2000

Loading Timer Code

February
14
2009
Posted by Shaibani | Tags: , ,

I’ve got a few people asking about how I got the seconds it took the page to load to display. Just wanna share the code:

1
<?php timer_stop(1); ?>  <?php echo $db->num_queries; ?>

Or you can simply use:

1
<?php echo('text before time' . timer_stop(0) . 'text after time'); ?>

HTML is allowed in text before time and text after time.

Works in a WordPress environment only. :-)

wp_logout_url Code

February
13
2009
Posted by Shaibani | Tags: ,

Well as you may have seen, I’ve been changing themes quite frequently in the last few days. I decided to go back to Resurrection (my theme), and as I was looking through the comments code, I found this:

1
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Log out &raquo;</a></p>

What’s wrong with that you ask? If you’re on WordPress 2.7 (you better be), you’re gonna have a problem. In WordPress 2.7, you’ll notice there’s a wpnonce=x (x being random figures and letters) added to the logout URL. How do I get that when there’s a random figure there? Simple:

1
<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(); ?>" title="Log out of this account">Log out &raquo;</a></p>

See the difference? It’s the echo wp_logout_url();. That function gives you the whole URL with the wpnounce. :-)

WordPress 2.7.1 WordPress

February
12
2009
Posted by Shaibani | Tags:

Just upgraded – WordPress 2.7.1!

date Instead of the_time Code

February
6
2009
Posted by Shaibani | Tags: , ,

Last month, I published a post about the WordPress functionthe_time('Y') and the PHP function date('Y')

Well as I was browsing through a few old posts, which were published in 2008, I noticed that the year date in the footer changed back to 2008. I changed it to

1
<?php echo date('Y'); ?>

Then it stayed as 2009! By the way, I know this can be figured out through common sense, but some lack it, this is obviously for disclaimers, footers etc. – NOT for posts.

WordPress 2.7 MU QuickPress

January
30
2009
Posted by Shaibani | Tags: ,

Yup, the same WordPress that WordPress.com uses is available for download at http://mu.wordpress.org/download/.

January 28: Thank a Plugin Developer Day QuickPress

January
30
2009
Posted by Shaibani | Tags: ,
Get Adobe Flash playerPlugin by wpburn.com wordpress themes