Title: Customising Breadcrumbs
Last modified: August 20, 2024

---

# Customising Breadcrumbs

 *  Resolved [mobeigi](https://wordpress.org/support/users/mobeigi/)
 * (@mobeigi)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/customising-breadcrumbs/)
 * Howdy,
   Is there any way to customise the bread crump generation right now? Or
   this this planned for the future?My use case is I run my WordPress blog at a 
   subfolder **/blog**.I also don’t want prefixes in-front of the categories and
   don’t want the final item included in the breadcrump.For example, for the URL:
   [https://example.com/blog/programming/java/how-to-do-something](https://example.com/blog/programming/java/how-to-do-something)
   I’d like the breadcrumb to be:Blog » Programming » JavaLet me know if it is possible.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/customising-breadcrumbs/#post-17970958)
 * Howdy!
 * There are [plans to further customize the breadcrumb output](https://github.com/sybrew/the-seo-framework/issues/668).
   I just added your requests to the ever-growing list.
 * But for now, it’s not possible to remove the “Category:” prefix without also 
   affecting the titles on the category pages. You must either edit the category
   meta title or remove all prefixes via “SEO Settings > Title Settings > Prefixes.”
 * To remove the current page, you can use either CSS or a PHP filter.
 * Here’s the CSS:
 *     ```
       .tsf-breadcrumb .breadcrumb-item:last-child {
           display: none;
       }
   
       .tsf-breadcrumb .breadcrumb-item:nth-last-child(2):after {
           display: none;
       }
       ```
   
 * You may be able to install that via the WordPress admin, but this process can
   differ per theme.
 * Alternatively, here’s the filter:
 *     ```
       add_filter(
       	'the_seo_framework_breadcrumb_shortcode_css',
       	function ( $css, $class ) {
   
       		$css["nav.$class li:last-child"][] = 'display:none';
       		$css["nav.$class li:nth-last-child(2):after"][] = 'display:none';
   
       		return $css;
       	},
       	10,
       	2,
       );
       ```
   
 * ([Where do I place filters?](https://kb.theseoframework.com/kb/using-filters/#where))

Viewing 1 replies (of 1 total)

The topic ‘Customising Breadcrumbs’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/customising-breadcrumbs/#post-17970958)
 * Status: resolved