Originally Posted by Jordan
What function do you need?
|
wp_get_recent_posts()
Originally Posted by Hero
I've never tried Savant, I should have a look at it.
Though, even the MVC design pattern, used specifically for seperating buisness logic from the front-end allows some PHP within the html. Obviously no direct database acces etc, but still.
It's true that wordpress could have separated the layers a bit more, but then again, PHP was written to be used together with(in) HTML
|
Pretty much all server side languages let you do that (asp.net is the only exception I know of), but that does not mean that it is a good idea in big apps.
Originally Posted by Hero
You should have a look at their plugin api. When you make a plugin you don't need to include anything and you can make use of all the functions. (You'll still need to create objects instances though)
|
Will do, thanks.