Wordpress function without wordpress?

John rife

Football Fan
Aug 10, 2009
119
1
0
London
Hi,
I have a noobie question. Suppose I want to use the wp_list_categories funtion and others so that it can show up on a static html home page of mine, is this possible? (basically i have a www.xxxx.com homepage and a www.xxx.com/blog/ as wp, now whatever latest articles are put up on the blog, I want them to be linked and show up on the homepage too. i kno that i will not be able to put in a sidebar, that is ok, i just wanna know how and if it is possible).
Would i have to insert the loop or something? Kindly let me know...
Thank you
 


Any reason you wouldn't just build the whole site on WP? For wp_list_categories, I can't think of anything off the top of my head...but I might after I let it mill around for a bit. For recent articles, you could consume RSS.
 
If you are calling wp native functions, then you're gonna have to have the core loaded anyway.

I've done something like that with a wordpress in codeigniter site and it is not fun. Unless your site is complex, just make wordpress pages to replace the ones in your site root and rewrite the urls.
 
It is doable, but it involves some good WP knowledge. I would personnally directly query the database and use the same permalink structure as the blog. Once you know how it all works together you're good to go.

But yeah, I've heavily worked with WP so it might sound easier than it really is.