The Personal Weblog of Akshay Jain
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 »
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 »
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.
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!
ǝlƃooƃ noʎ ʞɔnɟ
airtel
apple
apple itunes
ascii
benchmark
broadband
browser
confidence motion
converter
ebaumsworld
firefox
fun
galwaysidle
Google
google campus ambassador
google gadget
google trends
google trends hacked
google trends spam
gtalk
hacked
hijack
how to poop at work
idle
iim
iim-i
iim pgp
iim student website
image to ascii
indian government
ipod
itunes
latest browsers
opera
opera functions
politics
ram
ram usage
redirect
swastika
taskmanager
trends hacked
typo
virus Broadband (India) (2)
Code Snippets (6)
Economics (1)
General (16)
Google (3)
Indian Politics (1)
Jainism (1)
Latest Buzz (6)
New Scripts (1)
opera (2)
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.