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 […]
Comments closed

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. Nonces […]
Comments closed

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 […]
Comments closed

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 using add_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 […]
Comments closed