It’s not all that uncommon for there to be more than one author on a WordPress site and the following gives you the basics to share the wealth among the published authors. The following is actually quite basic in what it displays but can easily be adapted to be more of a display element than … ∞
Although I really cannot say where I have seen very many portrait style, or vertical, featured images on many sites, the general aesthetics of it are a bit bothersome when the theme follows the same rules for an image with a vertical aspect ratio as it does for images with a horizontal, or landscape, aspect … ∞
Granted the following end result is a little convoluted, it really doesn’t need to be, but there was good reason for the complexity in my use case. I wanted to add the functionality of not displaying a specific default Category Widget line but I also had to keep in mind others may find this useful … ∞
… uses array_merge? Great, but why is this relevant? Consider you are creating a short code wrapper for a function where some of the arguments that are passed to the function must be specific values and the others are meant to be exposed to the user. As an example, let’s look at a shortcode using … ∞
The general rule of thumb for adding post-format support to a theme has always been to use a theme setup function hooked in the after_setup_theme action that included the add_theme_support( ‘post-formats’, array( ‘aside’, ‘quote’ ) ); (as an example). This is all fine and dandy but if you want to add additional post-formats via a … ∞
It’s not like I invented a new way to slice bread, the idea of filtering a define statement’s value where the constant could be used as an option just seemed to make a good deal of sense. I also decided to use the idea in the next release of Opus Primus. Here’s the premise: there … ∞
A new version of the dynamic copyright code introduced in the BNS themes by Cais and updated for use in the Opus Primus theme by Cais.
Almost every programming language starts you off with the simple functionality of printing “Hello World” to the screen, such as: … and there we have it. If you copied and pasted that into the appropriate place you would see “Hello World” on your screen. Now, let’s see how complicated we can make this simple statement … ∞
A few days ago, I submitted a ticket to the WordPress core trac to Filter Glyph for Comment Required Fields. The idea behind the patch I submitted being: Currently the comment-template.php file uses an asterisk (*) as the default glyph for required fields used in the comment_form() function. This glyph is not easily manipulated without … ∞
An updated version of the dynamic copyright function found in BuyNowShop.com themes by Cais.