I will use 1.8 Developer version of Thesis Theme
LogIn to your Dashboard and Go to Thesis > Custom File Editor
Select custom_functions.php form drop down menu and Click Edit Selected File.
Place this code below custom_functions.php :
Select custom.css file and place this code below it:function
the_breadcrumbs() {
if
(!is_home()) {
echo
'You are here: <a href="'
;
echo
get_option(
'home'
);
echo
'">'
;
echo
'Home'
;
echo
"</a> /"
;
if
(is_category() || is_single()) {
the_category(
', '
,
'&title_li='
);
if
(is_single()) {
echo
" /"
;
the_title();
}
}
elseif
(is_page()) {
echo
the_title();
}}}
function
show_breadcrumbs() { ?>
<div id=
"breadcrumbs"
>
<?php the_breadcrumbs(); ?>
</div>
<?php }
add_action(
'thesis_hook_before_content'
,
'show_breadcrumbs'
);
Now save it.#breadcrumbs {
background: #535637;
padding: 10px;
border-bottom-left-radius: 18px;
border-top-right-radius: 18px;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif, SolaimanLipi;
color: #fff;
}
#breadcrumbs a {
color: #CCC;
font-weight: bold;
}
#breadcrumbs a:hover {
text-decoration: none;
}
[Please comment for any Problem]
No comments:
Post a Comment
!! COMMENT HERE FOR ANY PROBLEM !!