WordPress PHP Upload Information
WordPress has a very distinct way of doing things when it comes to file uploads. There is the restriction that PHP puts into place with file uploads (ie upload_max_filesize and post_max_size), and...
View ArticleWordPress Media Gallery
For the WordPress Media Gallery to work properly on a server, PHP Safe Mode must be turned off. From what I am told when PHP Safe mode is on, PHP runs as a different user than apache and this causes...
View ArticleTIL: Adding Admin Menu Pages
When using functions like add_submenu_page etc, make sure that you add them at the admin_menu action. If you try to add them any place other than that you will get “Insufficient Privileges” errors when...
View ArticleCode To Widget Plugin Released
I’m very happy to announce the release of the Code To Widget WordPress plugin. The plugin reads files in a directory and automatically creates widgets to be placed in sidebars. It gives...
View ArticleCode to Widget Updated to 1.1.1
After some discussions with coworkers and a plugin user, I realized the plugin needed a little more documentation on the template directory. I have added some absolute paths to the plugin settings...
View ArticleWordPress Autosave
Recently I was having an issue with the WordPress autosave running on my posts in a custom post type. I am running a lot of scripts in the “save_post” action and couldn’t find a good way to exclude...
View ArticleRemove the Admin Bar
For those of us who do not like the new admin bar in WordPress 3.1, here is a quick 1 line (2 with a comment) fix for removing it: // Remove the admin bar from displaying…everywhere...
View Article