wordpress api

Do it Yourself: Optimize your WordPress Page Headings

This is second article in the "Do it yourself" series and this one will be about heading tags. Most theme authors still do not pay particular attention to the layout and usage of header tags (H1, H2, H3...) in theme layouts. From the HTML optimization perspective, H1 is the most essential page tag and should appear as first on the page, and only once. H2 tags is next in hierarchy and you can have several of them on the page. Below each H2 you can have several H3 tags and so forth.
10 Comments

Improving security in Wordpress plugins using Nonces

Using a nonce (number used once)  is the best way to protect your plugin against a cross-site request forgery (CSRF) hacker-attack. Nonces are used on requests (saving options in admin, Ajax requests,  performing an action etc) and prevent unauthorized access by providing a secret 'key' and checking it each time the code is used.
9 Comments

Do it Yourself: Optimize your WordPress Site Titles

The purpose of this article is to show technique and examples of optimizing your WordPress site titles by directly editing the theme header file, where the title tag is usually printed out. By using this method you have greater control over the titles than any plugin can offer, so effectively you will be able to disable a plugin in the process, if you were using one (and one down is always good!). Your title tag is usually found in header.php theme file.
7 Comments

Adding boxes to WordPress 2.5+ Write Post panel

I have noticed few inconsistencies in the WordPress 2.6.1 code regarding the methods to add content boxes to the WordPress Write Post panel. The old way included usingadd_action('dbx_post_advanced', 'myplugin_old_custom_box' ); add_action('dbx_post_sidebar', 'myplugin_old_custom_box' );which would add a box to the Advanced section and Sidebar. However since version 2.5 dbx_post_sidebar actually adds a box to the end of Advanced section not the sidebar.
1 Comment

About Vladimir

vladimir prelovac Hi! My name is Vladimir Prelovac. I am a computer engineer by profession and an adventurer by state of mind.

"I would love to change the world, I just don't have the source code yet."

Books by Vladimir

WordPress Plugin Devleopment Book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon. Click the image for more information.

Consulting Services

Professional WordPress solutions based on custom developed plugins and themes

Expert on-site WordPress SEO consulting and an 'out-of-the-box thinking' approach to problems