'

Functionality Plugins vs a Framework’s Library

Just read an interesting article on WP-Candy about a method to easily porting functionality from theme to theme, extracting those single features and coding them into plugins that add each a single precise function. I thought others may have considered to get inspired by that article, so here my two cents. You can think of it as a portable functions.php [...more]

Introducing Loop Magic

Loop Magic is an approach to the WordPress loop. It has the purpose to reduce duplications of the code, keeping the theme slim and simple. It accounts for all the different loops a theme may need to perform, keeping the control room in one unique location. This should ensure better management. WordPress is organized in several key files, each with [...more]

Google Syntax Highlighter Reloaded

Not happy with methods and plugins to highlight codes, I’m presenting a solution to load the scripts only where necessary, aiming to deliver soon a proper plugin for WordPress. As quick note, I realized that the task may need a proper plugin. I’m working on it and I’ll publish something about in the next days. Stay tuned. After few test, [...more]

WordPress, save an image as featured

Copenhagen Harbour, a sunny day

A step by step guide to the post thumbnail for WordPress. More appropriately the Featured Image. Just recently, I published few resources and articles about how to enhance the Post Thumbnail feature, via the functions.php file. Still a consistent part of visitors seem to look for a more simple, straightforward approach. Let’s see how to activate and use the Featured [...more]

WordPress, showing a post thumbnail (Featured Image), or picking up the first picture in the body of the post

WordPress, showing a post thumbnail (Featured Image), or picking up the first picture in the body of the post, Timthumb folder

How to retrieve the post’s thumbnail, no matter what. If a Featured Image has been set, that will be used. If not, the first picture inserted in the body of the post will be used instead. If still any picture isn’t available, we have two options: show a default picture, or entirely skip the code for the post’s thumbnail. With [...more]

301 Redirection in WordPress, wp_redirect Explained

301 Redirection Made Even Simpler, wp_redirect Explained

What is the difference between a 301 and a 302 redirection? In this article I explain how to implement such a thing in the Dashboard. With few SEO tips. Never let your visitors clueless when they’re looking for a resource that has been moved. I’m going to show few ways to implement the function wp_redirect provided by WordPress, supported by [...more]

301 Redirect Made Simple

301 Redirection Made Simple

How to rescue your lost visitors when a page has been moved to a different location? And how to not loose any SEO value? We’re seeing two simple methods to achieve such a goal, via the .htaccess file, and with a template page plus a minimal PHP coding. But first what’s a 301 redirection? Note, you would like to give [...more]

WordPress, save your client from the danger nested in the Dashboard

Wordpress, saving the user from the danger nasted in the Dashboard

It happened again. The client asked for an admin access and now hours of fine tuning are gone. Even worse, the website is not that good looking as you planned it to be and you don’t really feel like to have it in your precious portfolio. Too bad. Providing an administrator access to the client is a honest practice. Just [...more]

How to protect an email from Spam scrambling it, an advanced approach for WordPress

Few days ago I published a function to scramble an email address whois purpose was simplicity. You can read more in Protect the email address from spam bots a reusable approach for WordPress. Then I relized that I wanted more options and more elasticity. Taking a step forward, I rewrote it with few enhancements. Still the goal is to make [...more]

Protect the email address from spam bots, a reusable approach for WordPress

The problem: your client really wants to publish her email address on the website. Visitors should be able to click on it and being redirected to the default email application (like Thunderbird). And obviously they should be able to select the email, copy and paste and stuffs. But still, you don’t want any spam harvesters (or spam bot) taking advantage [...more]

Page 2 of 3123