Why does the Article Name doesn’t appear in the Breadcrumb?

This topic has 6 replies, 2 voices, and was last updated 1 weeks, 3 days ago ago by Luca Rossi

  • Avatar: Awais Bhatti
    Awais Bhatti
    Participant
    November 9, 2024 at 16:13

    Hello

    I want to show the name of the article in the breadcrumb how can I show that?

    https://jarahi.pk/articles/general/hello-world/

    it should show up like the product name

    https://jarahi.pk/products/beurer-bc-51-wrist-blood-pressure-monitor/

    Best Regards
    Awais

    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    November 11, 2024 at 10:17

    Hi @Awais Bhatti,

    Please add this custom CSS code under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    body.single-post .page-heading.bc-type-left2 .title {
        display: inline-block !important;
    }
    

    Hope it helps!

    Avatar: Awais Bhatti
    Awais Bhatti
    Participant
    November 11, 2024 at 11:35

    Hi Luca

    Thanks, it worked, and how can I remove – Home > Category: Health – from the breadcrumbs and only Keep – Home > Health https://jarahi.pk/articles/health/

    By the way, is there a way that I could change the look and feel of Single Article and Article Archive?

    Best Regards
    Awais

    Avatar: Justin
    Luca Rossi
    Support staff
    November 11, 2024 at 13:20

    Hi @Awais Bhatti,

    Please try adding the following code under functions.php file locates in your child theme:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Category: ' :
    			$translated_text = '';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    By the way, is there a way that I could change the look and feel of Single Article and Article Archive?

    From the version 5.4.0, we’ve added the Posts Archive & Single Post Builder. Please navigate to the links in pirvate content area.

    Hope it helps!

    Content is visible for topic creator and
    support staff only.
    Avatar: Awais Bhatti
    Awais Bhatti
    Participant
    November 11, 2024 at 14:17

    Hi Luca

    The code works thanks, but when I used the theme builder for templates I got the following issues with breadcrumbs:

    https://jarahi.pk/articles/
    The breadcrumb should be – Home > Articles but it says Home > Products which is wrong.

    https://jarahi.pk/articles/health/
    The breadcrumb should be – Home > Articles > Health but it says Home > Health “Articles” is missing which is wrong.

    https://jarahi.pk/articles/health/hello-world/
    The breadcrumb should be – Home > Articles > Health > Hello World! but it says Home > Health > Hello World! “Articles” is missing here as well which is also wrong.

    The Permalinks set up is: https://jarahi.pk/articles/%category%/%postname%/

    Best Regards
    Awais

    Avatar: Justin
    Luca Rossi
    Support staff
    November 13, 2024 at 05:56

    Dear @Awais Bhatti,

    We hope this message finds you well.

    We regret to inform you that the breadcrumb functionality is currently not fully compatible with custom permalinks. However, we encourage you to submit your request on our Taskboard at [https://www.8theme.com/taskboard/](https://www.8theme.com/taskboard/). If your suggestion garners sufficient support from other users, our development team will consider implementing it in a future update.

    We sincerely appreciate your understanding and patience. We hope you continue to enjoy your experience with 8Theme.

    Best regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.