I installed it as above, but it does not seem to work for me.
As an example, I just put a comment here: http://www.uebelhart.net/index.php?p=12 which is a post much older than anything on the front page.
Did you think about doing it by date instead of post ID? Post ID can’t be a bit unpredictable when you take into account draft posts and private posts.
Actually, my first instinct was to use the postID because it was readily available. But now that I have had some time to think about it and I have had to fix a few bugs that I did not think about, I believe that using the postID poses some issues. How about searching for entries where post_status=”publish” before including them in the count? I might incorporate that when I get a chance.
An avid fan of business, education, technology and finance. I lead a lean, highly focussed and capable team of Java Back End developers and Front End developers through a maze of complex software wizardry to fulfill the web maintenance needs of a large chemical manufacturer. As per Myers-Briggs Personality Types, I am an ESTJ. I pride in a project completed on time and according to plan. My hobbies include all kinds of technology, anything that I can taste and anything that goes fast or flies in the air. I like to read business books and comics in my spare time.
I installed it as above, but it does not seem to work for me.
As an example, I just put a comment here: http://www.uebelhart.net/index.php?p=12 which is a post much older than anything on the front page.
I pasted the code in the right place, and when going to
http://wordsend.org/wp-admin/post.php
I get the following error:
Parse error: parse error, unexpected T_STRING in /var/www/wordsend/wp-admin/post.php on line 409
Line 409 is this one:
SELECT post_title, ID FROM $tableposts
Help?..
This is NOT valid for anything above WordPress 1.0
Oh! Sad. I did look at your post carefully, and it says 1.0+. Okay, then.
Did you think about doing it by date instead of post ID? Post ID can’t be a bit unpredictable when you take into account draft posts and private posts.
Actually, my first instinct was to use the postID because it was readily available. But now that I have had some time to think about it and I have had to fix a few bugs that I did not think about, I believe that using the postID poses some issues. How about searching for entries where post_status=”publish” before including them in the count? I might incorporate that when I get a chance.
Could this please be updated for WP 1.0 and higher? I left a message on the WP forum
board about this. Thanks!
Done. Look again.
Thats a hard error to fix!
Give us some more information please.