Archive for the ‘WordPress Development’ Category
Demo Mode 1.2 released
November 18th, 2007
As suggested by Daniel, I added the ability to have a welcome message when using Demo Mode with WordPress. One thing I like Demo Mode for is that there is no need to have an administration screen.
So I decided to use the blog’s tagline as a welcome message. It is the bloginfo(”description”) option set to “Just another WordPress blog” by default when installing WordPress. Simply edit that tagline at your Options > General Options screen, to use something like “This site is under maintainance” when activating Demo Mode.
How to Run WordPress Simultanously as Admin, Editor and Guest
November 12th, 2007
Okay, this applies to any web-application that requires to log in for performing special tasks. But since the purpose of this blog is to help WordPress (plugin) developers and those who want to become such, I’ll write it just from this perspective. I’ll stick to the approved “5 Steps” method to structure the tutorial.
The Situation:
You are developing a WordPress Plugin that features functionality for the blog frontend as well as some backend interfaces for the admin. The administration interface should only be accessible to admins and NOT to logged in editors.
How can you test this different userroles without being forced to log out and log in as a different user all the time?

