• I have a custom post type ‘Resources’ with a custom template assigned in the Divi Theme Builder. So the front end URL is example.com/resources

    The breadcrumb

      is blank.

      The breadcrumb is correct on any individual Resource CPT, but on the list of all CPTs it is blank. I have tried changing the permalink structure to /%category%/%postname%/ but that did not help. I also tried manually populating “Resource Categories” and “Categories” with custom text, but those actions did not help.

      Is this a known issue? Can you advise?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @elkrat,
    Could you please share your site URL?

    Thread Starter elkrat

    (@elkrat)

    Thread Starter elkrat

    (@elkrat)

    In my CPT archive pages, the background for empty Breadcrumb still appears, which in my case is a thin blue line. So I put a script in place to remove that when it’s blank:

    <script type="text/javascript">
    jQuery(document).ready(function ($) {
    	console.log('function loaded from Divi integration 1.3');
    	if ( ! $('.breadcrumb-container').children('ol').children().length){
    		console.log('Removed possibly blank breadcrumb');
    		$('.breadcrumb-container').parent().parent().remove();
    	}
    });
    </script>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank Results in Divi Template for CPT’ is closed to new replies.