11Dec

WordPress 2.7 finally available!

Yes, finally WordPress 2.7 “Coltrane” has been released publicly! You can download it right now or you can read what Matt has to said about WP 2.7 release. Matt states that this would be the last manual update of WordPress, due to the automatic (or automattic?) upgrade system and also says that the interface redesign was very neeed due to the clutter in the admin interface through the years, I must say I love the collapsable interface, is so clean and tidy now. There’s a neat video too on the official post about WP 2.7 release, hurry up and jump into WP train to the future!

1

9Dec

Songbird 1.0 released

The open source player Songbird 1.0 has been finally released on December 2 and it couldn’t look better. It’s an amazing application mashing up a full-featured audio player with a web browser and media networks like lastFM and SHOUTCast. The best of all is that the Mozilla power gave this player the addons feature like Firefox, Flock or Thunderbird. If you already use one of those products you will feel at home with Songbird. In addition to addons, you can also download new themes for Songbird, they are called “feathers”. Give Songbird a chance, you will be delighted.

Changing the subject, do you listen to music when you work? if so, what do you listen?

7Dec

Icon fading using jQuery

Time for another jQuery round! Following the previous sliding menu with jQuery and rollovers and tooltips with jQuery, this time I want to respond to a commenter, who asked for icon rollover through fading instead of the common “swap!”. We can achieve this icon fading with jQuery and in this article we will learn to do so. I will also explain how to set up your page to work with jQuery, given that I’ve received some messages asking how to enable jQuery for a page.

Now, as usual, here’s the finished example of icon fading using jQuery, but you can also take a look at my RSS button at the top. Roll your mouse over it and you will see it change.

Let’s begin now by jQuerifying our page!

Read more

Tags:

29Nov

Automated browser refresh addon for Firefox and IE

When coding the last site, I started feeling the pain of the process “save file-switch from IDE to browser-refresh” (or “CTRL+S|ALT+TAB|CTRL-R/F5″). As web developers, we usually have FF3 and IE 6 or 7 opened. Wouldn’t it be great if we only had to hit CTRL+S to save and refresh the browser at the same time? Well, there’s one addon for both Firefox and Internet Explorer called XRefresh claiming to provide “browser refresh automation for web developers”. Best of all, it’s available for Windows and OSX.

Read more

25Nov

Sliding menu using jQuery

Time for round #2! This time we’ll be building a sleek menu using jquery and some styles. What’s beautiful about jquery is how you can change a few bits and you get an entirely new effect. Last time we built some rollovers and tooltips using jquery and this time we’ll be building our slide menu on top of the same code. This tutorial assumes that you have a basic knowledge of jquery. Before we start, you might want to go ahead and try our example of sliding menus using jquery.

Read more

Tags:

21Nov

Type tester – test your web typography

Some of you might know it, but I’ve just found this valuable tool for quickly prototyping web typography. Type Tester, by Marko Dugonjić, assist web designers looking for a way to compare several typographic choices featuring controls for choosing typefaces, setting sizes, leading, tracking, alignment, word-space and others. The styles and weight are rapidly available from the text itself which is organized into paragraphs featuring each style+weight combination.

Furthermore, you can use it to test your own screen type, since it also features a dropdown menu where you can select your own installed typefaces.

20Nov

Colors & themes for GMail!

Last minute! my GMail account suddenly changed displaying new colours and a golden bar appeared on top calling me to customize my account with the new colours and themes for GMail. I’ve chosen the Desk Theme featuring wood and light brown colours, I found it quite easy on the eyes. What have you chosen?

19Nov

Rollovers and tooltips with jQuery

Yesterday, I needed a quick setup for doing some rollovers and tooltips. You know, the usual stuff, mouse over an icon changes image and shows a tooltip. I thought about taking advantage of html tags attributes manipulation through jQuery. If you want to jump in right now you can go to the

jQuery rollovers and tooltips example page

Now, if you’re still with me, let’s take a walk through the code. This tutorial assumes that you have a basic knowledge of html, css and jquery.

Read more

Tags: ,

15Nov

Google releases SEO Guide

Google released on Nov 12 a hands-on SEO optimization starter guide, covering areas such as meta tags, url structure (WP Permalinks), navigation, links, content and images. There’s a section about robots.txt that it’s quite interesting, as it shows how to stop giving our page reputation to inappropriate sites.

Check Google SEO Starter Guide post to download the pdf file!

BTW, I like images, and this one has a lot of images! :P

10Nov

Custom title background in WordPress using custom fields

In my last WordPress implementation I had to show different backgrounds for the page title. One title said “Who we are” with a background of several people. Another page title said “Our services” and the background image was only one man and one girl engaging in a conversation. To achieve this I used the custom fields.

Basic styling

#main-content h1 { background:url(g/htxt.jpg) no-repeat; }

This would be the common background if we don’t apply the custom fields technique.

In the Write Page area

The job in Write Page is simple, I uploaded an image using “add and image” and copied the link. I added a custom field with key “fondo” and the link as the value.

Adding code to page.php

I found this line in page.php, the template file that WordPress uses to define the layout for pages


<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

after the line, I added this


<?php $estilo = get_post_meta($post->ID, 'fondo', true); ?>

There’s one variable $estilo, that is assigned the value of the custom field “fondo”, according to the post ID. Now, I could’ve go and style everything using the variable, but what happens if someone creates a new page and forgets to add a custom background? in that case we would see the image broken. We need to check whether the variable has the value we need in order to proceed. If it doesn’t, the regular background from our stylesheet will show. If it does, we will style the <h1> tag. Let’s find the title tag and wrap it with the necessary code:


<?php if ($estilo != '') { ?>
<h1 style="background:url(<?php echo $estilo; ?>) no-repeat;">
<?php }else{ ?>
<h1>
<?php } ?>
<?php the_title(); ?>
Title Text
</h1>

Since $estilo has the full path that we copied from the media manager all we have to do is a simple echo. That’s it, of course, you should set up all the background relative options since the style applied will overwrite everything leaving in a blank state before applying the background style. If you had defined a color, define it again, if the background repeats or not, position, etc.

Tags:

Page 28 of 29« First...1020...2526272829