PHP backlink checker script

30 Sep 2008 In: Code Snippets

This is probably the simplest script that anyone knowing (or even learning) PHP can create in about 15seconds. But I will still post it here just in case anyone is a total noob at PHP.

Purpose of this script: To check a certain given backlink on hundreds of webpages provided you know the URL of every webpage. Read the rest of this entry »

Sergey Brin’s Blog

20 Sep 2008 In: Google

Update: Here is the blog URL which I forgot to mention : Too.Blogspot.com

Sergey Brin (the founder partner of Google and a deca-billionaire) has started a blog recently. There are some important things that I would like to note about the same. Read the rest of this entry »

Arrange Posts in ascending order Wordpress

18 Sep 2008 In: General

Recently, I was creating one website in which there were loads of database entries which I needed to integrate into Wordpress Blogging system as it is really flexible.

But the default option of Wordpress is that it always shows all the posts in reverse chronological order but I wanted to change posts order so that the posts on the front page is displayed in an ascending order.

For achieving this, either you can use good plugins that are currently available which allow you to get a greater control of your posts but I found them very complicated and they were meant for more complicated things than just arranging the posts in ascending order.

So, here is a little code that I found which you can place in your /wp-content/themes/THEMENAME/index.php file. You have to place it just before the posts loop code which will basically look something like this:


Just add the following code just before if(have_posts()) and your posts will be arranged in an ascending order.

query_posts($query_string."&order=ASC");

Hope that helps someone who is looking for this code. If you have any other Wordpress queries, then you can make a comment on this post.

Enter your email address:

Delivered by FeedBurner

About this blog

I am Akshay Jain a student in Economics and a web enthusiast. Most of my readers would be knowing me by my pseudonym champ_rock/champrock. This is my blog and I know I wont be keeping this updated. For contacting me, please use the contact form!

Please subscribe to the RSS feeds in order to get the latest updates on my blog!


Sponsors