• Resolved Lukas

    (@effecto)


    Hi,

    we are trying to list posts with Yoast Breadcrumbs, but actually it looks like it is not possible without any workaround.

    yoast_breadcrumb() not working in this case, it works only when is_singular()

    Do you have any idea, or workaround how to achieve this?

    $postsWithBreadcrumbs = new WP_Query($args);
    if ($postsWithBreadcrumbs->have_posts()) {
    	while ( $postsWithBreadcrumbs->have_posts() ) {
    		$postsWithBreadcrumbs->the_post();
    		
    		/* TODO: get post breadcrumbs here */
    		
    	}
    }
Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @effecto

    Thanks for using the Yoast SEO plugin.

    I’m sorry we can’t provide this level of support here; it’s dedicated to offering support for the simple use of the plugin, which doesn’t include the development support you’re requesting. We can’t offer support on custom code needed to change the core features of our plugin.

Viewing 1 replies (of 1 total)

The topic ‘Breadcrumbs in loop’ is closed to new replies.