Modern Web Font Options for Web Designers
Google’s new Font API, Cufon, @font-face, sIFR, FLIR…?! It’s 2010 and the Internet has long since evolved to become an integral part of modern society. As web designers, our web fonts used to be limited to a small number of ‘safe’ font-families. Today there are a number of options that allow web developers to break free from the confines of the limited ‘web-safe’ font spectrum and express themselves, and their websites, more individually with unique fonts. Let’s examine how the web’s top font solutions work and how they are implemented.
WordPress List Subpages Even if On Subpage
I'm building a new site and the navigation on it requires me to use a different bit of code for parent and child pages. I thought I'd share the code for those out there building a similar navigation. Here's a handy bit of code that you can use to display all subpages on a subpage. For instance, you have your pages setup like so:
Page: Fruit
subpage: Banana
subpage: Apply
subpage: Orange
On Parent Page
If you were wanting to show a navigation menu of all subpages in the Fruit category you could use the following bit of code:
<?php
$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?>
<ul id="mainNav">
<div id="locationsNavHead">choose a product</div>
<?php echo $children; ?>
</ul>
<?php } ?>
On Subpages
For child, or subpages, we could use the following bit of code:
<div id="sidebar">
<?php
//list subpages even if on a subpage
if($post->post_parent)
$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
else
$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
if ($children) { ?>
<ul id="mainNav">
<div id="locationsNavHead">choose a product</div>
<?php echo $children; ?>
</ul>
<?php } ?>
</div>
If you are confused at what this all means please comment below and check out wp_list_pages() over at the WordPress Codex
Forget about using @font-face thanks to Google
Web designers beware that if you're eager to use @font-face in the near future you can forget it! With Google now entering the web-font market the guys over at font-face.com decided it was a lost cause to continue on their noble quest. Personally, I would be rather upset if I had invested 100s of hour of labor just to be overtaken by a giant. Hopefully Google will kick them over some pity capital.
Read the rest of this entry »Google Unveils the Google Font Directory and API
Google is looking to help all of us web and graphic designers out there who have been trying to break free of the CSS font-family limitations. How are they doing this? Today Google released the Google Font Directory and Google Font API in attempts to bring a selectable and dynamic font solution to the web. I'm expecting the directory in the future this solution will grow to become the web's leading robust and scalable font library and API.
The good things about this web font solution is that it is very easy to implement and the text is completely selectable (for copy-and-paste purposes). The downsides (both will eventually become irrelevant) are that not every browser will support it... mostly the old school ones that no one should care about anymore, and that it in it's current state the Google Font Directory is limited to a about 20+ fonts (of which you'd probably use about 10). As the web continues to evolve both of these 'downsides' will no longer be relevant.
Google Web Fonts
Using the Google Font API and Directory
GoDaddy WordPress Sites Infected by HolasionWeb Malicious Code
Have you gotten calls from your clients hosted on GoDaddy about their WordPress site's being 'hacked'? Or perhaps this happened to you yourself. It seems there's a new report of thousands of WordPress sites being infected by malicious javascript inserted on their WordPress website.
Read the rest of this entry »






DLOCC Socials