I’ve been working on a public website over these last few months and one of the issues I faced was what mechanism to use so that our users could edit the content of some of the pages. I’ve been using WordPress successfully for awhile now on this site, and it somehow popped into my head that I could also use WordPress as a CMS, not just a blogging system. I blogged a couple days about how to get an unordered list of posts from WP. Now for how to use WP as a link manager and content editor. Continue reading
This is a simple tip, mostly for myself, with hopes that it will help a future googler. To show the three most recent article titles from wordpress in a non-wordpress page, do the following:
index.php (non-wordpress PHP page)
<ul><?php include(“GetNews.php”); ?></ul>
Simple enough if you want to just show headlines with links to the post page.
From the I bet you can’t do that again department…
Caitlin was dressed as a leopard for Halloween. How cute!