Search for: Log In Free Support [Resolved] Displaying category hierarchy like breadcrumbs in page header Home › Forums › Support › Displaying category hierarchy like breadcrumbs in page header This topic has 5 replies, 2 voices, and was last updated 1 year, 8 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts May 23, 2019 at 4:08 pm #909214 Mehmet Akif Kaban Hello, I want to display category hierarchy like below in the page header in a separate line. Help appreciated. Thanks Category 1 >>> Category 2 >> Category 3 May 23, 2019 at 6:25 pm #909272 LeoStaff Customer Support Hi there, GP doesn’t have built-in breadcrumb feature. I’ll recommend checking out a plugin like YoastSEO. Let me know 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ May 24, 2019 at 12:22 pm #910002 Mehmet Akif Kaban Thanks, But is there a way to do that without Yoast? I just need to display hierarchy, nothing else. Category 1 >>> Category 2 >> Category 3 If the answer is no can u help me adding that to Page Header element Thanks May 24, 2019 at 12:24 pm #910003 LeoStaff Customer Support Sorry you just want to display the categories? If so try the template tags: https://docs.generatepress.com/article/header-element-template-tags/#post_terms-taxonomy Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ May 25, 2019 at 11:49 am #910709 Mehmet Akif Kaban Thanks Leo I just enabled breadcrumbs from Yoast Seo. I have found this hook, But how to appy it to global page header? I cant find the option for this. <?php if ( function_exists(‘yoast_breadcrumb’) ) { ?> <?php yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’); ?> <?php } ?> May 25, 2019 at 12:03 pm #910712 LeoStaff Customer Support If you only want to display categories, then I don’t think you actually need YoastSEO. Try the template tag solution suggested here: https://generatepress.com/forums/topic/displaying-category-hierarchy-like-breadcrumbs-in-page-header/#post-910003 If you want to install Yoast still, take a look at this: https://docs.generatepress.com/article/adding-breadcrumbs/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In