The built-in WordPress gallery systems leaves much to be desired. It works well if a theme supports it, but it can be difficult to customize, especially if you have any special markup you’d like with the gallery. While working on a client’s theme, I wrote up a quick short code function that can be used [...]
View PostListing Custom Post Type Entries with a Short Code
Once you have created a custom post type with Easy Content Types, you will want to begin displaying entries from that post type. There are a variety of ways to do it, but one of the easiest by far is using the [ecpt_query] short code included with the plugin. This short code will let you [...]
View Post custom post type, post types, recent posts, taxonomies, taxonomyShow Message to Logged In User with a Short Code

Being able to restrict certain content to logged in members only is a very useful function, especially for membership based websites, whether free or premium. This quick tutorial shows you the basics of how to write a short code function that will allow you to limit blocks of content to logged in users only.
View Post is_user_Logged_in()Show Posts with a Short Code and Display Posts in Any Page
Being able to display a list of posts within a page (or other post) is very useful. In this tutorial I’m going to show you how to write a simple post query short code that will allow you to display a list of posts from any category, tag, or custom taxonomy.
View Post query_posts, short code, shortcodeLoad Scripts if Post has Short Code
This is a really handy trick that I just learned today. Whenever we can, it is always best to only load styles and scripts for our plugins when they are needed. This tutorial will show you how to load stylesheets and scripts only when a post contains the short code that the styles / scripts [...]
View Post Scripts. styles, short codes, shortcodesWordPress Login Form Short Code
Sliding Login Form Plugin

This plugin, based on my Sliding Contact Form Plugin, places a simple, elegant, sliding login form for your website that will allow users to login without every leaving the page. Once a user is logged in, they are redirected back to the current page, or any custom URL defined in the plugins options page.
View Post jquery, loginCreate an Ajaxified Contact Form Short Code
A very popular feature of many themes is an Ajaxified contact form, often inserted through a shortcode. So I’m going to show you how to create one from scratch as a plugin that can be dropped into any WordPress theme.
View Post Ajax, contact form, short codeAdd a Short Code to Your Plugin
Short Codes are everywhere; they are one of the main features that theme authors advertise, and they are tremendous tools for plugin developers. Adding a short code to your plugin is quite simple, actually.
View Post short codes- 1
- 2
