Topic: Filtering User Input

Blurbette Plugin: Copy Metabox

In this chapter, I’ll create the metabox enabling a user to copy any post to a new Blurbette. This action shouldn’t force the user to leave the edit panel, so copying ought to take place via AJAX. And, for good measure, why not track whether a post has already been copied to a Blurbette, and link to it?

My plan is ... 

Read article

Blurbette Plugin: Admin Control Panel

In this chapter I’ll proceed a bit differently: I’ll make a few changes to WPCX_Blurbette_Def and WPCX_Blurbette_Registry first, then define the new class below.

The sole aim of this admin control panel is to update a list of options. WordPress provides a Settings API that provides output helpers and manages groups of individual settings; but for no ... 

Read article

Blurbette Plugin: TinyMCE Control

This time I’ll define a TinyMCE Control class that must be instantiated.

The last one, the Shortcode class, works fine without instantiating because all its properties are one-offs, and its public elements are available to all scopes (global and function).

This class defines a ‘thing’ that has unique properties, and there might be more than one of these ‘things,’ so it must ... 

Read article

Blurbette Plugin: Options Metabox

The last class in the project blueprint is the Options metabox on the Blurbette admin edit panel. The aim is to present all possible contexts in which a Blurbette could appear, and offer checkboxes for each. As a bonus, if the Blurbette was copied from a post, indicate so with a link back to the post’s edit panel.

Here’s an example: ... 

Read article