added wordpress-style wrapper functions

resolves #4