Enable breadcrumbs theme oceanwp

#3665
  • Resolved Dsweb
    Rank Math free

    Hello, pls add Enable breadcrumbs with theme oceanwp.
    In your plug have a switch on or off breadcrumbs, but I want to use breadcrumbs from my themes.
    You can add more switch, ON OFF BCtheme(breadcrumbs installed theme).
    Or add icon instead of text HOME.
    Thanks

    • This topic was modified 5 years, 8 months ago by Dsweb.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Todd
    Rank Math free

    Hello,

    Thanks for getting in touch.

    You can disable Rank Math’s Breadcrumbs feature from WordPress Dashboard > Rank Math > General Settings > Breadcrumbs.

    We do not offer any option to add icons yet. Sorry.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Dsweb
    Rank Math free

    I know where off BC in your plug, but i need use BC for my theme.
    When switch BC off in your plug i not see all BC

    Hi there,

    Thanks for the clarification.

    Would you mind grabbing me some temporary admin access to your site via the sensitive data section so that I can check this issue for you?

    I am looking forward to helping you.

    Dsweb
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Dsweb
    Rank Math free

    sensitive data send link screen vhen your plug active and deactive

    HI there,

    Thanks for the follow up.

    I am sorry but you have not added the login credentials to the sensitive data section, I can only see the image attachments.
    Please share the temporary access so that I can take a look at this issue.

    Thanks.

    Dsweb
    Rank Math free

    sorry can’t give access
    set yourself a theme oceanwp and turn on your plugin

    Todd
    Rank Math free

    Hello,

    Can you please let us know how you added the breadcrumbs in OceanWP?

    We are unable to do so. It says on their website that we need to have Yoast installed to use Breadcrumbs.

    Please provide the steps of replicating this on a fresh install so we can check from our end.

    Thank you.

    Dsweb
    Rank Math free

    install theme oceanwp-customize-general options-page title-ENABLE BREADCRUMBS

    Hi there,

    Thanks for the follow up.

    Rank Math does not cause this issue, your theme OceanWP actually contains some logic to fallback to the RM breadcrumbs if our plugin is active or any other SEO plugin is active. The code can be found on line 58 of breadcrumbs.php, here is the function that adds this functionality:

    function oceanwp_breadcrumb_trail( $args = array() ) {
    
    	// Return if breadcrumbs are disabled
    	if ( ! oceanwp_has_breadcrumbs()
    		|| is_front_page() ) {
    		return;
    	}
    	
    	// Yoast breadcrumbs
    	if ( function_exists( 'yoast_breadcrumb' )
    		&& true === WPSEO_Options::get( 'breadcrumbs-enable', false ) ) {
    		$classes = 'site-breadcrumbs clr';
    		if ( $breadcrumbs_position = get_theme_mod( 'ocean_breadcrumbs_position' ) ) {
    			$classes .= ' position-'. $breadcrumbs_position;
    		}
    		return yoast_breadcrumb( '<nav class="'. $classes .'">', '</nav>' );
    	}
    	
    	// SEOPress breadcrumbs
    	if ( function_exists( 'seopress_display_breadcrumbs' ) ) {
    		return seopress_display_breadcrumbs();
        }
    	
    	// Rank Math breadcrumbs
    	if ( function_exists( 'rank_math_the_breadcrumbs' ) ) {
    		//return rank_math_the_breadcrumbs();
        }
    
    	$breadcrumb = apply_filters( 'breadcrumb_trail_object', null, $args );
    
    	if ( !is_object( $breadcrumb ) )
    		$breadcrumb = new OceanWP_Breadcrumb_Trail( $args );
    
    	return $breadcrumb->trail();
    }
    

    You can fix this by overriding the this template and commenting out the addition of RM breadcrumbs as I have done above.

    Let me know if you need additional assistance in this.

    Dsweb
    Rank Math free

    select in scree red color what need do in file breadcrumbs.php
    thanks

    Dsweb
    Rank Math free

    where file breadcrumbs.php ?

    Hi there,

    Thanks for the follow up.

    You can find this file on the following path your_sitename\wp-content\themes\oceanwp\inc\breadcrumbs.php

    You can create a child theme to override this template but I would be happy to do this for you if you can share some temporary FTP access.

    Thanks.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)

The ticket ‘Enable breadcrumbs theme oceanwp’ is closed to new replies.