Okay
  Public Ticket #2026422
Changing breadcrumb
Closed

Comments

  • CrowsDesign started the conversation

    Hi there,

    I have some questions regarding changing the breadcrumb trail.

    For our Portfolio pages we use different parents. So it's not gonna be "/portfolio/mypage", but for example "/drawings/mypage" or "sketches/mypage".

    Is there a way to alter the breadcrumb trail for specific portfolio pages? Maybe a short piece of PHP code with a filter? And can we change the url of the parent in the breadcrumb? So in "Home > Drawings > My Page", we would like to change the "Drawings" url.

    Also we would like to remove the "Portfolio" part from the breadcrumb. Is there a way to achieve this?

  •  675
    Neuron replied

    Hi,

    Actually I don't know if that is possible, having two different permalinks for a single custom post type. You can change the prefix of the custom post type in Appearance > Customize > Portfolio > Functionality > Prefix. http://prntscr.com/nuhlxo

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • CrowsDesign replied

    Thanks for your reply! To bad it's not possibile to change them by code.

    Changing the prefix was already an option i noticed. Maybe we're gonna make pages for most of the pages and will use de portfolio part for only one category.

    Thanks!!

  •  675
    Neuron replied

    Hi,

    You're welcome anytime.

    I don't know if that's possible by default, if you find any useful link, I can provide you with further help.

    Feel free to ask for anything you need.

    Kind Regards,
    NeuronThemes


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.