Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #199


    I discovered the very useful file breadcrumb.php in theme’s folder “framework” -> “helper-functions”.

    But no breadcrumbs are shown at all in frontend of the theme.

    Then I tried the plugin “Yoast Breadcrumbs”, but it has no effect in this theme: no breadcrumb is shown at all.

    Where can I enable this function?



    the theme doesnt use the breadcrumbs function, its just part of my personal framework ;)

    you can add this within php brackets to call the breadcrumb but you will need to add styling yourself ;)

    if(class_exists(‘kclass_breadcrumb’)){ $bc = new kclass_breadcrumb; }


    Thanks, and where, in which file must I put this code?

    What do you mean with “php brackets”? The (German) “Größer-/Kleiner-Zeichen”?

    And which of these many brackes of your code above need to be put in this “php brackets”?

    Sorry, but I have nearly no idea of PHP :-(


    PHP brackets look like this:

    <?php ?>

    So with the breadcrumb code, it would look like this:

    <?php if(class_exists('kclass_breadcrumb')){ $bc = new kclass_breadcrumb; } ?>

    There are a few files you can add this to, for individual posts it’s single.php / for individual pages it’s page.php / for archive (category) pages it’s archive.php. Where you want to place the code is up to you, it needs to be outside the loop:

    if (have_posts()) : while (have_posts()) : the_post();

    otherwise it would show up for every individual entry (not a problem on page.php or single.php as only 1 article is displayed but in archive.php you’d end up with problems).

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Breadcrumbs file in theme folder: but is not showing in theme’ is closed to new replies.