Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #5866
    animedy
    Participant

    Hi,
    I have a problem with free catch breadcrumb plugin – namely instead of category name (for example PHOTO) it shows following sentence: ARCHIVE FOR CATEGORY:PHOTO. Page titles are shown correctly. I tried to find some solution by myself to fix this, but couldn’t , so I’d would appreciate any help to solve this problem, if this is possible with CB plugin…
    Thanks
    Edo

    #5874
    Skandha
    Participant

    @animedy: Hello Edo,
    Please post in your site URL so that I can look into the issue you are having.

    Kind Regards,
    Skandha

    #5879
    animedy
    Participant

    One more try to send URL:
    Reply To: BreadCrumb category name
    Edo

    #5880
    animedy
    Participant

    In the meantime I’ve discovered that I can remove the first part “Archive for” with CSS, but I can’t figure out where from this “Kategorija” came…
    I use Sydney (child) theme.
    I use Catch Breadcrumb plugin on one other site and there it works perfectly
    Edo

    #5886
    Skandha
    Participant

    @animedy: Hello Edo,
    Can you please post in your site URL? I will need to look into your site to debug the issue.

    Kind Regards,
    Skandha

    #5887
    animedy
    Participant


    I hope this will work..
    Edo

    #5890
    animedy
    Participant

    I need help: whatever I try, I just can’t send URL (I tried over LINK, the URL is not visible). If i just paste URL here, message won’t be sent… What to do?

    #5891
    animedy
    Participant

    http://animedy.com/category/radionice/

    #5892
    Skandha
    Participant

    @animedy: Hello Edo,
    Since you are on a category page the text Kategorija: is showing up before the actual category Radionice.

    Let me know what you would like to do.
    Kind Regards,
    Skandha

    #5893
    animedy
    Participant

    Hi Skandha,
    I’d like to have only title of category (Radionice). I don’t know how to remove Kategorija…

    #5942
    animedy
    Participant

    Hi,
    there is no answer on my question, so I’d appreciate to know weather it is possible to remove Category: (Kategorija:), so that only title would be shown, or not (as this is with pages title…).
    In any case, my suggestion is that you integrate such option in future update of Catch Breadcrumb, which is for my opinion very good plugin and simple for using…
    Edo

    #5944
    Skandha
    Participant

    @animedy: Hello Edo,
    To remove the text Kategorija: you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization so that I can help you out.

    Kind Regards,
    Skandha

    #5945
    animedy
    Participant

    I am already using child theme (Sydney-child)… So I think I could manage your suggestions…
    Edo

    #5970
    animedy
    Participant

    Hello Skandha,
    can you please send me customization instruction so that I can do changes I want or I will have to use some other breadcrumb plugin…
    Edo

    #5971
    Skandha
    Participant

    @animedy: Hello Edo,
    Go to => Child Theme Folder => functions.php and add the following Code.

    function filter_category(){
    add_filter(
    	'get_the_archive_title',
    	function ( $title ) {
    		if ( is_category() ) {
    			$title = single_cat_title( '', false );
    		} elseif ( is_tag() ) {
    			$title = single_tag_title( '', false );
    		} elseif ( is_author() ) {
    			$title = '<span class="vcard">' . get_the_author() . '</span>';
    		} elseif ( is_tax() ) { //for custom post types
    			$title = sprintf( __( '%1$s' ), single_term_title( '', false ) );
    		}
    		return $title;
    	}
    );
    }
    add_action('init', 'filter_category');

    Let me know if this solves your issue.
    Kind Regards,
    Skandha

Viewing 15 posts - 1 through 15 (of 20 total)
  • The topic ‘BreadCrumb category name’ is closed to new replies.