post-page

Updated Post Counter and Top 10 Posts for WordPress available

3
responses
by
 
on
February 23rd, 2004
in
WordPress Hack
heading
heading
heading
3
Responses

 

Comments

  1. Poonam Bhatia (10 comments.) says:

    Hi, I just need some clarification with the first step with the database. It says that you can go into MyphpAdmin and create a table : UsersOnline and then it said to paste the code below

    use wpdatabase;
    create table mostAccessed
    (
    postnumber int not null,
    cntaccess int not null,
    primary key(postnumber),
    unique id(postnumber)
    );

    Well after creating the table it asked me how many number of fields in the table. I was not sure, is that just two? I am also unsure where to paste this code. So if you could just help me a little futher, I would greatly appreciate it. Thank you! :smile:

  2. Dylan (1 comments.) says:

    Does any of that (code quted above ) change if/when my “wp_” prefix is different (in the case of having multiple blogs)?

    Can anyone venture to say whether this hack will even work with 1.3 ?

  3. G says:

    ## HTML INSTRUCTIONS ##

    Open your index.php and find this line:

    I don’t have that line in my theme index.php

    I am running 2.0.3

    where am I suppose to stick that line?
    Thanks!
    G



Obviously Powered by WordPress. © 2003-2013

page counter
css.php