Inspiration: Miami Disc Golf Website

March 14, 2009

A few weeks ago  I designed a site for for Miami Disc Golf (www.miamidiscgolf.com). I thought this was a good opportunity to show everyone what a little bit of customization could do to a site based on my “Baughxie” WordPress theme.

Basically, the header was modified with new graphics and a few odds and ends were tweaked in the css. Not bad. If anyone out there has a site based on one of my themes please let me know and maybe I can showcase it here on Switchroyale for everyone to check out!

Miami Disc Golf - A Site Based On The Baughxie Theme

Miami Disc Golf - A Site Based On The Baughxie Theme

0

Free Stuff: Fontin Font

March 7, 2009

So I decided to spice up the header of my site with a Switchroyale logo today. The design was easy to put together but fonts are always difficult for me to decide on. I found this really nice free font called “Fontin” designed by Jos Buivenga.

The Fontin is designed to be used at small sizes. The color is darkish, the spacing loose and the x-height tall.

I really like the look, clean and modern with a touch of style. Check out his site here, there are many great fonts available for download. Best of all…they’re free!

exljbris :: Free Quality Font Foundry

exljbris :: Free Quality Font Foundry

0

How To: Modify the Azul/Baughxie Navigation Bar

February 13, 2009

Updated – 05/17/2009

Thanks to Marla for pointing this out. You can easily change the “Home” button on the Azul/Baughxie themes to anything you want by simply modifying this bit of code in the “header.php” file:

<div id="navbar">

<?php wp_page_menu('show_home=1'); ?>

</div>

All we need to do is modify the menu tag something like this if you want the “Home” button to say “Blog” instead:

<div id="navbar">

<?php wp_page_menu('show_home=Blog'); ?>

</div>

Thats it!

The text that follows is the original post and should be ignored:

I’ve had a few people ask how to modify the navigation bar on the Azul and Baughxie themes. More specifically, how to change the “Home” button into something else. Let me start by explaining what’s already there.

Starting in WordPress 2.7 there is a nice clean bit of code that will display the Pages on your blog and a “Home” button all with just one tag: wp_page_menu

The code I used looks like this:

<div id="navbar">

<?php wp_page_menu('show_home=1'); ?>

</div>

The above is clean and to the point, the only problem is that if you want to change the home button from “Home” to something else like “News” or “Blog” then, in short, you can’t.

What we CAN do is rebuild the navigation bar with the following code:

<div id="navbar">

<ul>

<li <?php if(is_home()){echo 'class="current_page_item"';}?>><a href="<?php get_bloginfo('url'); ?>">Blog</a></li>

<?php wp_list_pages('title_li=&depth=0'); ?>

</ul>

</div>

It’s a little more complex, but this will let you name the home button to anything you want. In the example above the home button was named “Blog”.

11