20 Oct

Tabbed WordPress settings pages

19 Oct

Advanced layout templates in Wordpres content editor

17 Oct

Use WordPress Custom Meta Boxes to Upload files

05 Oct

Custom post meta boxes in WordPress

05 Oct

Branding the WP dashboard

31 Aug

Using a textarea to create list items on WordPress

<ul>
<?php
$field = get_post_meta($post->ID, 'field', true);
$items = explode("\n",$field);
foreach ($items as $item) {
echo '<li>'.$item.'</li>';
}
?>
</ul>

This bit of code would basically separate line breaks on a textarea custom field into li tags. Obviosly, we would need to create a custom field for this to work. Change field to whatever your custom field key may be.

Keep reading

30 Aug

Simple Twitter connect for WordPress

15 Aug

Stop WordPress from loading jQuery automatically

if( !is_admin()){
wp_deregister_script('jquery');
}

Sometimes when coding our own themes we tend to include jQuery by ourselves, and this could generate conflicts with certain plugins. By adding this bit of code to your theme’s functions.php file you’ll be pretty much telling WordPress not to load jQuery.