• Hi, I am using the free Generatepress theme and trying to get “Breadcrumbs” from WPMU DEV plug-in to work. I also have the “Child Theme” from Generate Press.
    In the Child Theme “Functions.php, I have this code from WPMU DEV:

    add_action( ‘generate_after_header’, function() {
    if ( function_exists(‘smartcrawl_breadcrumbs’) ) {
    smartcrawl_breadcrumbs();
    }
    } );

    But only the “Home” page shows “Home” and none of the other pages or posts show anything.

    WPMU DEV support offered another tip, replace. ‘generate_after_header’ with ‘generate_before_main_content’ and that moved the “Home” over to the right. But did not show breadcrumbs anywhere else.

    Could you explain what I might be missing please?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @pavlovbob,

    The code seems correct. The issue may be with your function.

    Try asking the support of that function if there’s anything else that could cause it not to work?

Viewing 1 replies (of 1 total)
  • The topic ‘Breadcrumbs not working in free GeneratePress’ is closed to new replies.