dbchief
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Yoast SEO] Breadcrumb positionIm 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 1 replies (of 1 total)