Wordpress

Miscellaneous Forums/General Discussion/Wordpress

Here's a problem for any Wordpress users to solve. If you don't use Wordpress, but understand my problem, please post.

This has not as much (AFAIK) to do with the actual code so much as the directory structure. I have all the Wordpress files contained within "noenemies.com/blog" but I need to access all the functions and stuff for the front page, because I want the most recent entry displayed on the front page. I'm really not sure how to go through with this. Any ideas? I'm totally clueless on how to even begin.

Thanks in advance!

You could iterate over the WP_posts table and see which post was latest, and copy a snippet of it to the front page.

Yes, but the WP_posts table doesn't store the permalink and the categories...do you know how I would access these?

Nope. I think there's a WP_permalinks table, but I can't be arsed checking right now (plus your install may differ from mine).

OK thanks. I'll see what I can do...