WordPress.org

Ready to get started?Download WordPress

Forums

Post Count Hack (8 posts)

  1. edreams
    Member
    Posted 9 years ago #

    Why when I put:
    <?php get_post_count(); ?>
    I get an error???
    http://erica.purplekisses.org

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I can't see the error on your page.
    Are you using a plugin ?

  3. edreams
    Member
    Posted 9 years ago #

    I took it out, will put it again...

  4. edreams
    Member
    Posted 9 years ago #

    Fatal error: Call to undefined function: get_post_count() in /home/pk/public_html/erica/index.php on line 147

  5. edreams
    Member
    Posted 9 years ago #

    I have another hack question also...
    http://www.gravatar.com/implement.php#section_2_2
    when using that.... where do you put the php? In wp-comments.php?

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    post_count - that's not a function that comes along built in. Have you uploaded and activated a plugin ?
    Gravatar - I would think so, never used it myself. Find the part of the code that displays comments, and put it somewhere then move it around to suit.

  7. edreams
    Member
    Posted 9 years ago #

    yes, I have uploaded and activated it...
    I got it from here:
    http://mtdewvirus.com/wp-hacks/
    ok, I will try that with the gravatar...

  8. Mark (podz)
    Support Maven
    Posted 9 years ago #

    The upload of the plugin could have gone wrong..delete it and reupload, making sure it goes up as ASCII, not binary ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.