Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1001694
    janih
    Participant

    Hi,

    I have two categories on my website and there is direct link to those categories in main menu
    – Blogi
    – Uutiset

    When I open any post under those categories the breadcrumb doesn’t show the category. I tried the code posted here, but it didn’t work for me: https://community.theme.co/forums/topic/categories-breadcrumbs-issue/#post-134515

    #1001699
    janih
    Participant
    This reply has been marked as private.
    #1002208
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    The code should be added to child theme’s functions.php, and you don’t have any active child theme.

    Please follow the instruction as given to that thread.

    Thanks!

    #1002738
    janih
    Participant
    This reply has been marked as private.
    #1002878
    Rue Nel
    Moderator

    Hello There,

    The code should have work in your site. Are you using CloudFlare or may have installed a caching plugin like WordFence, W3 Total Cache or WP Super Cache? Please keep in mind that after doing every updates, always remember to clear all caches when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

    Please let us know how it goes.

    #1003859
    janih
    Participant

    Hi,

    thanks for your reply. It seems that there have to be something wrong with the code. I pasted another code (bbPress sidebar) to the child theme’s functions.php and it worked. Currently I don’t have CloudFlare and I have always purged W3 cache.

    Are sure that the code should work with Ethos stack?

    edit: Can it affect that in WordPress>Settings>Reading I haven’t specified Posts page? I use the category archives as posts pages so I can’t specify it.

    #1004145
    Rad
    Moderator

    Hi there,

    In that case, please provide your FTP login credentials as well. Working with code in admin isn’t recommended, any mistake can put down your live site. I like to apply some changes on the code.

    Thanks!

    #1004513
    janih
    Participant
    This reply has been marked as private.
    #1004575
    Rad
    Moderator

    Hi there,

    It’s working now, I just removed this code,

              if ( get_option( 'page_for_posts' ) == is_front_page() ) {
                echo $current_before . $page_title . $current_after;
              } else {
    
              .....content in between this remains untouched......
    
              }

    Cheers!

    #1004586
    janih
    Participant

    Hi,

    thank you very much! 🙂

    #1004604
    Rue Nel
    Moderator

    You are most welcome!
    If you need anything else we can help you with, don’t hesitate to open another thread.

    #1005943
    janih
    Participant

    Hi again,

    I tried pasting the code and removing that block Rad said above, but it doesn’t work.
    Is there some other changes that should have been done to the code? I deleted the customized file by accident :/

    By the way, I may need custom development. Which company do you recommend for bbPress customization, Cheers Creative or Goatsocial?

    #1006418
    Darshana
    Moderator

    Hi there,

    I have commented that code in your child theme. Let us know how it goes.

    Also with regard to custom development, currently we don’t have any affiliates that we can recommend.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1001694 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>