• Hi,

    I’m super new to WordPress but I am interesting in learning a way to query for the last 5 topics. I just need their date and the title itself for what I am trying to create.

    Any help, pointers etc greatly appreciated.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SharkBait

    (@sharkbait)

    Ok I am looking over the table structure of WordPress and noticed that all the posts go into the wp_posts table.

    I would then need wp_posts.post_title, wp_posts.post_modified. I would then have to modify my script for the user to enter their table’s prefix correct?

    What I am working on is a small script that prints out the 3 most recent posts by title and date.

    Then an image file is created dynamically via PHP’s GD library which people can use to link their Forum signatures to their Blogs. Works for my custom-made blog type site but I was going to try and learn how to make a plugin for WordPress to do the same thing 🙂

    You might try using the search box top of forum, search for show last 5 posts, query last 5, etc.

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

The topic ‘Query for Blog Headers’ is closed to new replies.