Show 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.

Customize Plugin Action Links

Plugin Action links are the links, such as Deactivate, that are displayed on the plugin entry in the WordPress plugins page. These links are extremely useful for helping your users find their way around the admin section of your plugin, as well as for providing helpful links such as Contact or Support.

Simple Posts By Author Widget Tutorial and Plugin

This tutorial will demonstrate the methods used to write a simple Posts By Author Widget plugin. The idea of this plugin is to provide a widget that can be used to displays posts from a specific author. The plugin this tutorial is about is a much simplified version of the [highlight_green]Posts By Author Widget Pro…

Retrieve Attachment ID from Image URL

Especially when developing plugins or theme settings that make use of the WordPress media uploader to upload and insert images, being able to retrieve the ID of the image uploaded can be extremely useful. By grabbing the image (attachment) ID, you suddenly have a lot more control over what you can do with the image,…

Process Ajax Requests Correctly in WordPress Plugins

WordPress provides a set of great tools for processing ajax requests in plugins (and themes). I’m going to give you a quick example of how these tools can be used to accomplish a variety of tasks. For this example, We’ll just be using some simple alerts, but they will serve very well for demonstration purposes.