Sunday, February 3, 2008

Using an Image as a Breadcrumb Separator

To add a custom image as the seperator, create a file called template.php inside your theme folder, if you don't have one.
Copy paste the following code into this,


function theme_breadcrumb($breadcrumb) {
$bcimage = $base_path/$directory//( youimage locatopn like this/images/mybreadcrumbimage.png;)
if (!empty($breadcrumb)) {
return '';
}
}



Thats all!

0 comments: