• Hello, I would like to use the theme breadcrumbs rather than using the LearnPress breadcrumbs. I have checked the LearnPress setting and I cannot find any ways to set the breadcrumbs. Is there any any to use back my theme breadcrumbs? Or is there any code to use the default breadcrumbs? The theme is Qode. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support brianvu-tp

    (@briantp)


    Hi,

    You can add this code to the function.php file of the child theme or the main theme
    remove_action( 'learn-press/before-main-content', 'learn_press_breadcrumb', 10 );

    Thanks

    Thread Starter neutralchung

    (@neutralchung)

    Thank you for your reply. But seems like the hooks is not work at this time.

    URL: https://hkba.anniegodstudio.com/courses/

    You can see that the breadcrumb is still using the learn-press-breadcrumb. Hope to hear your new solution.

    Thanks a lot

    Plugin Support brianvu-tp

    (@briantp)

    Oh, so sorry, please use this code
    remove_action( 'learn-press/before-main-content', LearnPress::instance()->template( 'general' )->func( 'breadcrumb' ) );

    Thread Starter neutralchung

    (@neutralchung)

    Thanks for your code! It works very well. However, I do not know whether is the code or other problems. Seems like the original one is also removed in the page.

    Plugin Support brianvu-tp

    (@briantp)

    This is the code only work for LearnPress so I think this code above not is the cause of the issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use own default breadcrumb’ is closed to new replies.