Monthly Archives: August 2011

WordPress Plugin Skeleton

Here’s a foundation for writing a WordPress plugin, based on version 3.2. This would go in the main my-plugin-name.php file.

Posted in Code Snippets | Tagged , | Leave a comment

Escaping shortcodes in WordPress Posts

If you want to display the shortcode literally in a post (like so: [shortcode]), just use double brackets like this: “[[shortcode]]”. You can also use the html entities [ for “[" and ] for "]” (which you’ll need to use … Continue reading

Posted in Code Snippets | Tagged | Leave a comment