Friday, January 2, 2009

News Summary

  » Unsubscribe / Delivery Options  » Get Mobile Delivery   
January 2, 2009 | Morning Edition
Top Stories
Israel Focuses Assault On Hamas Leaders
Missiles Rain Down On Gaza For 7th Day - Now After A Warning - Striking Hamas Militant Leaders

CBS News Programs

U.S.  » More U.S.
World  » More World
U.S. Passes Control Of Green Zone To Iraq
While Violence Rages Beyond Baghdad, Maliki Says Handover Marks Return Of Sovereignty To Iraqi People

 Israelis Supportive Of Gaza Offensive
 Officials: U.S. Drone Kills 3 In Pakistan
 S. African Activist Helen Suzman Dies

Politics  » More Politics
Health  » More Health
SciTech  » More SciTech
Cutting Mosquito Lifespans To Curb Disease
Researchers Use Parasite To Trim Life To 21 Days; Older Insects Spread Malaria, Dengue

 Does Facebook Know Breast?
 What's In Store At CES 2009
 Calif. Sues Bush Over Endangered Species

Business  » More Business
2 Major Bank Buyouts Completed
Bank of America's $19.4B Takeover Of Merrill Lynch, Wells Fargo's $12.7B Takeover Of Wachovia Finished

 Don't Cry, Dora; Cable Channel Deal Done
 Album Sales Plunge, Digital Downloads Up
 Citigroup Agrees To Limit Exec. Pay

Strange  » More Strange
Entertainment  » More Entertainment
Opinion  » More Opinion
Top Videos  » More Videos

Freezing In The New Year (2:27)

Israel May Invade Gaza (2:05)

Smoking Bans Prove Beneficial (1:33)

MoneyWatch (1:28)

Aspen Suspect Kills Himself (1:31)

Obama's 'Day One' (2:22)
Top Photos  » More Photos

Gaza Attacks, And Protests, Grow

World Welcomes 2009

Photos Of The Day

Crystal Ball For 2009

Celebrity Mug Shots

Israel Targets Hamas
Latest Blog Posts  » More Blogs
Bill Clinton For N.Y. Senate?
Paterson Warms To Idea Of A "Caretaker" Replacement Read More
Resolving my Resolutions
A New Take On The New Year's Ritual Read More
U.K. To Adopt Guantanamo Detainees?
For Obama To Close Prison Camp He Needs To Get Rid Of Prisoners; Brits May Help Him Out Read More
Most Viewed
Stories
1. Santa Slayer Planned More Murders
2. Just Call Sarah Palin "Grandma"
3. Battle Lines Drawn Over Blago Nominee
4. 250 Small Quakes Rattle Yellowstone
5. NASA Details Columbia Crew's Grisly Deaths
Videos
1. A Meal To Die For (5:11)
2. 60 Minutes, 12.28.08 (43:16)
3. Apparent Suicide At Sea (4:40)
4. The Mortgage Meltdown (12:29)
5. Evening News Online, 12.30.08 (21:10)
Photos
1. Knots
2. Celebrity Circuit
3. Celebrity Circuit
4. Kennedy Center Honors
5. Photos Of The Day

Contact: Email Administrator, CBSNews.com, 524 W. 57th St., Room 514/1, New York, NY, 10019
©MMIX, CBS Interactive Inc. All Rights Reserved.
To unsubscribe or change your subscription options, click here.

»Help  »Advertise  »Terms of Service  »Privacy Policy

Hack WordPress

Hack WordPress

Make an Apple.com Style Breadcrumb for Your WordPress Blog

Posted: 02 Jan 2009 12:00 AM PST

Breadcrumbs, as has been said before on WPHacks, are very useful, both for your SEO and reader’s navigation. In other words, there is no reason why you shouldn’t have them on your site.

There are a number of breadcrumb plugins you could use, but with a bit of Wordpress code, you can avoid this. If you use sub-categories, then this will only display the name of the sub category.

A typical breadcrumb is something like this:

Home >> [Category] >> [Post Title]

Wordpress can very easily do this - to get the name of the category the post is in, all you need is

<?php the_category(); ?>

Then, to display the post title, the code you need is

<?php the_title(); ?>

So our final code, with some arrows added in is:

<a href="/">Home</a> &raquo;  <?php the_category('   '); ?>   &raquo; <?php the_title(); ?>

So now that you’ve got your breadcrumb sorted, you can take this one step further and spice it up a bit. For the next part, we’re going to be using the code from a tutorial at Janko at Warp Speed, and with this code, we’re going to turn our breadcrumb into something that looks like the ones you see on Apple.com!

The Apple.com breadcrumb:

The Apple.com breadcrumb
And what we’re making:What we're making

First, download the html version here, and open it in a your web editor (ie Notepad, Dreamweaver etc). Scroll down until you find <ul id=”breadcrumb”>. This is where we’re going to start editing. All you need to do is copy and paste the following code:

<ul id="breadcrumb">
<li><a href="/" title="Home"><img src="/images/home.png" alt="Home" class="home" /></a></li>
<li><?php the_category(', ') ?></li>
<li><?php the_title(); ?></li>
</ul>

This is basically the same code as we had above, just putting into a list. Make sure you upload the home.png file to /images/, and while you’re at it, upload the other images.

Next thing we need to do is the CSS. Go into your style.css and paste the following:

#breadcrumb {
font: 11px Arial, Helvetica, sans-serif;
height:30px;
line-height:30px;
color:#9b9b9b;
border:solid 1px #cacaca;
width:100%;
overflow:hidden;
margin:0px;
padding:0px;
}
#breadcrumb li {
list-style-type:none;
float:left;
padding-left:10px;
}
#breadcrumb a {
height:30px;
display:block;
background-image:url('/images/bc_separator.png');
background-repeat:no-repeat;
background-position:right;
padding-right: 15px;
text-decoration: none;
color:#000;
}
.home {
border:none;
margin: 8px 0px;
}
#breadcrumb a:hover {
color:#35acc5;
}

Once you’ve done that, then you’re done! If you copy the code from the source file (which you should), then make sure you change the url of the images.

I recently redesigned one of my sites, and integrated this, so you can see a working example here.

This was a guest post by Alex Denning, who is a Wordpress power user, web design freelancer and currently maintains two sites - Nometet.com and GreenGrassGames.com. You can follow him on Twitter here. If you have WordPress knowledge and are interested in writing a post for WordPress Hacks, please contact us.

Related posts:

  1. Improve Reader Navigation With The Breadcrumb Navigation Plugin
  2. How To: Display the Recent Posts of Specific Categories
  3. 6 WordPress Tips and Tricks
  4. How to: Create an Archive Page for your WordPress blog

TIME Daily News 24/7

TIME
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time1-22

Daily News 24/7
Friday, January 02, 2009

Forward to a friend
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time2-22?T=BJXgxXBASRffB7SaZ5$zuyzV$G&RAF_TRACK=
%email%%

_________________________________________________________________

Today's Top Stories
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time3-22

The Dirty Dozen: 12 People to Blame For the Financial Crisis

By JUSTIN FOX
Who and what got us into this financial mess? Here's my far-from-
exhaustive list of the guilty
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time4-22
1_1869040,00.html?xid=newsletter-daily

Iraq's Iffy New Year Resolution

By ABIGAIL HAUSLOHNER / BAGHDAD
Baghdad is taking greater responsibility for policing itself but
will the legalistic new ground rules make things harder for the U
.S. to operate?
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time5-22
=newsletter-daily

Caroline Kennedy's Shaky Quest For Camelot II

By KAREN TUMULTY
J.F.K.'s daughter Caroline is seeking to show that she has the ex
perience, and the backbone, for the Senate
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time6-22?
xid=newsletter-daily

The Force is With Obama's Yoda

By JOE KLEIN
Why Obama turns to Brent Scowcroft, the foreign policy wise man B
ush the Younger has largely ignored
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time7-22?
xid=newsletter-daily

The Divine Comedy of Mumbai

By ISHAAN THAROOR
Viewpoint: A copy of the Dante's epic resides in the stricken cit
y, becoming a parallel
text to the horrors Mumbaikars have seen
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time8-22
=newsletter-daily
_________________________________________________________________

Quotes of the Day http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time9-22

I've asked authorities to be uncompromising with arsonists.
* NICOLAS SARKOZY,
* President of France, after close to 1,100 cars were set on fire
by
New Year's Eve revelers

More Quotes
_________________________________________________________________


Postcard from...
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time10-22

Bangkok Gets Into the Christmas Spirit

http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time11-22
By Hannah Beech
Thais immerse themselves in the spirit of Christmas without the f
oggiest idea who Jesus was

_________________________________________________________________

Special Package

Person of the Year 2008
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time12-22
tter-daily

By Azadeh moaveni
For having the confidence to sketch an ambitious future in a gloo
my hour, and for showing the competence that makes Americans hope
ful he might pull it off, the President-elect is TIME's Person of
the Year.

_________________________________________________________________

TIME Blogs
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time13-22
Swampland

By KAREN TUMULTY
In many ways, the real beginning of the Obama Administration will
not be on January 20, but rather, on Tuesday, when the new Congr
ess shows up to begin work on his program. Except that may not be
what gets everyone's attention that day.

-----------------------------------------------------------------

Copyright © 2008 Time Inc. All rights reserved. Reproduction
in whole or in part without permission is prohibited.

TO UNSUBSCRIBE

You have received this e-mail because you are subscribed to
Daily Updates from

TIME Magazine. To unsubscribe, please click here or copy
and past this link into your browser:
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time14-22?T=BJXgxXBASRffB7SaZ5$zuyzV$G&EMAIL=fpac.rangola@blogger.com

EMAIL OPT-OUTS

Click here for more information on how to opt-out of
marketing communications

from us and our partners, or copy and paste this link into
your browser:

http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time15-22

PRIVACY POLICY

Please read our Privacy Policy, or copy and paste this link
into your browser:http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time16-22

FOR FURTHER COMMUNICATION, PLEASE CONTACT:

    * TIME Customer Service
* 3000 University Center Drive
    * Tampa, FL 33612-6408<

How To Advertise
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time17-22
Give the Gift of TIME
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time18_-22
id=175365&source_id=2&_requestid=631869

Update Email
http://time.chtah.com/a/tBJXgxXBASRffB7SaZ5$zuyzV$G/time19-22?T=BJXgxXBASRffB7SaZ5$zuyzV$G&EMAIL=fpac.rangola@blogger.com

Journalists Targeted in Gaza | The Blagojevich-Burris Follies | Iraqis Take Control of Green Zone

AlterNet: The Mix is the Message   PEEK Newsletter
January 2nd, 2009
More blogs and video »
 

Support AlterNet by supporting its advertisers

 

Iraqis Take Control of Green Zone -- Americans to Maintain Troop Presence  

Iraqis Take Control of Green Zone -- Americans to Maintain Troop Presence

The timing of this slow transfer happily coincides with the transfer of power in Washington DC -- let's hope for a chance for a new beginning. Read more »

The Blagojevich-Burris Follies Continue  

The Blagojevich-Burris Follies Continue

If Blagojevich's motivation for picking Burris was to take the glare of media attention off of himself, he's succeeded beyond his wildest dreams. Read more »

Gonzales' Most Serious Crime: Propping up the Unconstitutional Powers of King George  

Gonzales' Most Serious Crime: Propping up the Unconstitutional Powers of King George

There is a long list of things Gonzales did wrong. But the underlying crime was against the principle that the U.S. is a country of laws, not men. Read more »

NY Senate Seat Should Go to 'Caretaker' Until Election  

NY Senate Seat Should Go to 'Caretaker' Until Election

No matter who Paterson picks, he's bound to annoy people. Someone who'll just keep the seat warm for two years puts the problem in voters' hands. Read more »

Shoe-Thrower's Trial Postponed  

Shoe-Thrower's Trial Postponed

Let's make sure they know we have not forgotten. Read more »

2009: Now for the Hard Part  

2009: Now for the Hard Part

Is the glass half empty, half full -- or did somebody take the glass and smash it against the wall? In times like these, optimism is a decision. Read more »

 



Read more »

 

Support AlterNet by supporting its advertisers


Support AlterNet  |  Contact Us  |  Privacy Policy  |  Unsubscribe from PEEK
Unsubscribe from all future AlterNet communications
You are subscribed as fpac.rangola@blogger.com

© 2007 Independent Media Institute
All Rights Reserved
77 Federal St., 2nd Floor, San Francisco, CA 94110

 

Presspass - News Edition

PressPass - News

News Press Pass
  Charleston.net
News
Commercial Real Estate
Residential Real Estate
Subscribe to the Post & Courier
Place a Classified Ad
Big guns back - Hunley museum might get to keep cannon from CSS Alabama

Most people wouldn't worry much about damaging a couple of three-ton, cast-iron Civil War cannons. But then, most people don't spend years meticulously nursing the lost artifacts of the Lost Cause back to pristine condition.



Enjoy a
parade
every Sunday

_

Only In The
Post & Courier
find locations


Census Bureau to hire about 300 area residents

Good news for job seekers in a tight economy: The Census Bureau is recruiting workers. The bureau's Charleston office plans to hire about 300 Charleston-area residents in February to gear up for the 2010 census. Pay starts at $14 an hour, and you can work out of your house either part time...

In most political spats, truth's in middle

Most of the time when the governor gets into a spat with the Legislature or some state agency, the only casualties are a few egos and some trees â€" the ones sacrificed so newspapers around the state can print these epic Road Runner vs. Coyote battles.

Boas, bikinis, and blue lips

At English Bay in Canada, maybe the birthplace of the Polar Bear Plunge, the air on New Year's Day was freezing and sleeting, and the water was nearly ice. At Sullivan's Island, it only felt like it.

Students desperate as loans dry up, parents lose jobs

Don Griggs says it's important to be upbeat at the college financial aid office during economically trying times. Griggs, director of financial aid at the College of Charleston, also encourages his staff of 11 counselors â€" who are doing the work of 13 â€" to "find outlets for personal renewal" so they can remain upbeat.










This message was sent to fpac.rangola@blogger.com
pmguid:s2.apue.am3

Related Posts Plugin for WordPress, Blogger...

MP3 Clips

Popular Posts