I’d like to add the breadcrumb function to a custom post type I made. I’ve been trying to use this:
<?php x_get_option( 'x_breadcrumb_display' ); ?>
to call it, but it’s not working. Is this not correct?
here’s the full code (after the fullwidth call:
<?php get_header(); ?>
<div style="margin:20px auto;!important" class="x-container max width offset">
<div class="<?php x_main_content_class(); ?>" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-featured">
</div>
<div class="entry-wrap">
<div style="margin:0 0 12px 0;">
<?php x_get_option( 'x_breadcrumb_display' ); ?>
</div>
<?php x_get_view( 'integrity', '_content', 'post-header' ); ?>
<?php x_get_view( 'global', '_content' ); ?>
</div>
<?php x_get_view( 'integrity', '_content', 'post-footer' ); ?>
</article>
<?php x_get_view( 'global', '_comments-template' ); ?>
<?php endwhile; ?>
</div>
<?php?>
<?php get_sidebar(); ?>
<?php?>
</div>
<?php get_footer(); ?>