0

WordPress Breadcrum function

function.php code [code function=”css”] function the_breadcrumb() { global $post; echo ‘<div class="breadcrumb">’; if (!is_home()) { echo ‘<a href="’; echo get_option(‘home’); echo ‘">’; echo ‘Home’; echo ‘</a> / ‘; if (is_category() || is_single()) { echo ”; the_category(‘ / ‘); if (is_single())… Continue Reading