Dynamic breadcrumbs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14335
    Td_petetd_pete
    Member

    Hi,

    I have a need to use the breadcrumbs in such a way that the breadcrumb path can be generated from a the previous page (dynamically) or create a manual path.

    I have a page created that uses post snippets to display courses by category i.e. bci.education/accelerator/university-accelerator-programme, when I then select a course i.e. http://bci.education/course/computing-accelerator/. The breadcrumb correctly is ‘Home / Courses / Introduction to Information Sy …’. However in my case I want it to be something like ‘Home / Accelerator /Accelerator Programme / Introduction to Information Sy …’, therefore giving the user a more logical navigation path.

    I appreciate I am asking a lot but it would be great if I could crack this solution, as I’ve been given quite a complicated structure to replicate.

    Many regards,

    Pete Stephens

    #14348
    VeenaVeena
    Moderator

    You need to modify file framework/presentation/custom-post-types.php line 123 –

    'rewrite' => array( 'slug' => 'course' ),
    

    After making slug change pls visit permalink settings.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.