Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Hi there. I’m sorry but I cannot understand the language in your screenshot, so I’m having trouble understanding what the exact issue is. Can you tell me 1) the expected behavior and 2) what’s actually happening? What is that #3 in your screenshot? I’ll be happy to take a look at this for you if you can explain to me what’s happening a bit more. Thanks.

    Thread Starter Tingwe

    (@tingwe)

    Hi Philip,

    No 1 is page title.
    No 2 is subtitle.
    And the problem is no 3 in breadcrumb area which page subtitle show up too along with page title.

    How to remove subtitle in page/post breadcrumb?

    Regards.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Hi there. I’ve tested this on my end and do not see any issues, so I suspect that this has to do with the theme that you’re using. Can you show me exactly the URL where this is happening? It’s quite late in Vietnam now, so I will pick this back up tomorrow after you’ve given me more information about how I can see this problem on your live site. Thanks.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    HI there. So this definitely is a bug in your theme. I’ve verified this by disabling breadcrumb functionality from within Responsive and adding this into the Responsive page template:

    <?php
    	if ( function_exists('yoast_breadcrumb') ) {
    		yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    	}
    ?>

    Everything works as expected. You’ll need to ask the Responsive team to help you figure out what’s going on, as they’ve done a massive amount of SEO and plugin manipulation from within their theme’s functions file. I suggest turning off the theme-native SEO stuff and just hardcoding Yoast’s SEO code into your theme if you want things to work properly in the meantime.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    I think I know why this is happening. Your breadcrumbs are being called from within your Loop. When I move them out of your loop, things are fine. Let me play with this some more and I’ll update you within a day or so.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    What happens if you add this into your theme’s functions file?

    function better_breadcrumbs( $title ) {
    	if ( function_exists( 'get_the_subtitle' ) ) {
    		return str_replace( get_the_subtitle(), '', $title );
    	}
    	else {
    		return $title;
    	}
    }
    add_filter( 'wp_seo_get_bc_title', 'better_breadcrumbs' );

    Let me know.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Just a note that I’m working on a fix for this here. The code I gave you above works sometimes, but it’s janky. Please keep track of that GitHub thread and I’ll update you when I’ve sorted this out. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not compatible with WordPress Seo (Yoast)’ is closed to new replies.