Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

dbchief on "[Plugin: WordPress SEO by Yoast] Breadcrumb position"

$
0
0

Im sorry the code is kind of hard to read let me fix that.
The code for my Single Post (single.php) is:

<?php get_header(); ?>

	<div id="content-inner" class="sidebar container-12 clearfix">
		<div class="grid entry-list">	

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

		<?php get_template_part('_loop','single'); ?>
		</div><!--/grid-->
		<?php get_sidebar(); ?>

	</div><!--/content-inner-->
</div><!--/content-->
<?php get_footer(); ?>

And the code for my Page Template (page.php) is :

<?php get_header(); ?>

<div id="content">
	<div id="content-inner" class="container-12 sidebar t-page clearfix">

		<div class="grid entry-list">
		<?php while(have_posts()): the_post(); ?>
			<article id="entry-<?php the_ID(); ?>" <?php post_class('entry'); ?>>
				<div class="entry-inner">

<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
					<header>
						<h1 class="entry-title"><?php the_title(); ?></h1>
					</header>
					<div class="text clearfix">
						<?php the_content(); ?>
						<div class="clear"></div>
						<?php edit_post_link(__('Edit','sprout'), ' · ', ''); ?>
					</div>

					<?php if(bandit::comments_enabled() || have_comments()): ?>
					<div id="entry-comments">
						<?php comments_template(); ?>
					</div>
					<?php endif; ?>
				</div><!--/entry-inner-->
			</article>
		<?php endwhile;?>
		</div><!--/grid-->

		<?php get_sidebar(); ?>

	</div><!--/content-inner-->
</div><!--/content-->

<?php get_footer(); ?>

Thanks, all the best!


Viewing all articles
Browse latest Browse all 42467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>