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.
14 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.
35 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.
11 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.
3 Comments

About

vladimir prelovac Vladimir Prelovac is CEO of Prelovac Media, a computer engineer by profession and an adventurer by state of mind. more +


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

Services

Manage multiple WordPress sites

Built for WordPress enthusiasts, ManageWP helps you manage all your WordPress sites from one central location.

Books

WordPress Plugin Devleopment Book Read my book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon.