WordPress display breadcrumbs using Yoast plugin [closed]

I went to the Yoast website and just took a look at the breadcrumbs they use: <nav class=”row breadcrumb” aria-label=”You are here:”> <span> <span><a href=”https://yoast.com/”>Home</a> » <span><a href=”https://yoast.com/help/”>Help center</a> » <span><a href=”https://yoast.com/help/category/wordpress-plugins/”>WordPress plugins</a> » <span><a href=”https://yoast.com/help/category/yoast-seo-woocommerce/”>Yoast SEO: WooCommerce</a> » <span class=”breadcrumb_last” aria-current=”page”>How to implement Yoast SEO breadcrumbs</span> </span> </span> </span> </span> </span> </nav> You’ll notice … Read more

Changing title & add Breadcrumbs

I’m supposing we are talking about the tab title, if so its possible but not conventional, if is the page title, the code is almost the same and its feasible. In this last case WordPress doesn’t have a breadcrumb per say, we have to make a custom one, nevertheless Woocommerce has one. If Woocommerce is … Read more

Breadcrumb NavXT plugin – exclude ‘home’ page

Opne you header.php file and look for something like this: <div class=”breadcrumbs”> <?php if(function_exists(‘bcn_display’)) { bcn_display(); } ?> </div> then before the call for bcn_display(); make sure you are not on the home page so basicaly replace bcn_display(); with: if(!is_home() && !is_front_page()){bcn_display();}

How to show only one category in breadcrumb navigation

get_the_category() function used to retrieve categories array of a post, and array_shift() function used to get the first item of an array. You possibly need this – function ux_breadcrumbs() { if (!is_home()) { echo ‘<a href=”‘; echo get_option(‘home’); echo ‘”>’; bloginfo(‘name’); echo “</a> » “; if (is_category() || is_single() ) { if( is_category() ) { … Read more

Link posts to pages for breadcrumbs

You need to go and have a look at template hierarchy for custom post types. I believe your custom post type is tennis. So you would make a copy of your theme’s archive.php template and call it archive-tennis.php You can now style that template to your liking. Just remember, you don’t need to add or … Read more