Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds like a typo in my-hacks.php which IS included whether you explicitly call for a function in it or not. Edit the file via FTP.

    Thread Starter Tarasque

    (@tarasque)

    What do you mean with editing it via FTP?
    And how can there be a typo? I mean, I copy & pasted as I was told on the guides.

    Thread Starter Tarasque

    (@tarasque)

    *bump*
    😀

    Moderator James Huff

    (@macmanx)

    I think he means download the file, edit it, and upload it again. There could be excess whitespace or, in fact, a typo somewhere.

    Thread Starter Tarasque

    (@tarasque)

    I’ll try that.
    Now, I just tried embedding the code in index.php, instead of using my-hacks.php, and I would still get the error. It seems that there’s something wrong with this line:
    global $wpdb, $tableposts;
    What could it be?

    Thread Starter Tarasque

    (@tarasque)

    Worked! It seems that, for some reason, the spaces that were after the information were written with those characters. It’s strange, tho, because I think I also tried adding it using the web-panel that WordPress has…
    Still, it worked. Thanks, Beel!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Problems with Recent Posts.’ is closed to new replies.