Social Networks

Breadcrumb is very useful for WordPress SEO purpose. More SEO people says that breadcrumb is one of the parts of WordPress SEO. So I am posting this topic for WorPress thesis users.

Do you wants to add breadcrumbs in your thesis theme. Believe me this will increase your blogs SEO, please follow below tutorials steps –

breadcrunb thesis theme

breadcrunb thesis

Step 1:

Copy and paste the following code to your thesis custom_function.php file.

function breadcrumbs_no_front_page() {
if (is_front_page());
else {
global $post;
?>
<div id="breadcrumbs">
<a href="/">Home</a> &gt; <?php the_category(' '); ?> &gt; <?php the_title(); ?>
</div>
<?php
}
}

add_action('thesis_hook_before_content', 'breadcrumbs_no_front_page');

Step 2:

Copy and paste the following code to your thesis custom.css file.

.custom #content_area #breadcrumbs {
    float: left;
    font-size: 11px;
    font-weight: normal;
    line-height: 25px;
    width: 94.9%;
    padding-left:5px;
    margin-left:15px;
    background:#eee;
    border:1px solid #ddd;
}

 

Please post your comment for any queries !

Leave a Reply

Your email address will not be published. Required fields are marked *

Allowed Tags:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>