• edwindanromero

    (@edwindanromero)


    Hi All,

    I’m working with a theme that generates the breadcrumb for a page based on page’s html title, so in its breadcrumb php it reference the below,

    <?php wp_title(”); ?>

    However, this poses as an issues seeing as the title of a page may not provide the optimal breadcrumb for a user. Rather, because, I use menus, I’d like it to reference the menu navigation label for that given page, seeing as it looks clean and cuts straight to the chase. I’m not sure what to swap out, I’ve used <?php echo get_the_title(); ?> but that returns the page name.

    Does anyone have any idea?

    Thanks!
    E

  • The topic ‘Change Breadcrumb Reference to Get Menu Navigation Title’ is closed to new replies.