Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Edit the insights.js file and add the functionality to insert the HTML directly into tinyMCE."

A block of code will be set as follows:

/* Add Digg link to the end of the post */
function WPDiggThis_ContentFilter($content)
{        
       return $content.WPDiggThis_Link();
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>’); ?>

<?php if (function_exists(WPDiggThis_Link)) echo WPDiggThis_Link(); ?>

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this:

"Go to your WordPress Plugins admin panel."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.