wpexplorer

Untitled

Nov 5th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <?php
  2. //Yoast SEO breadcrumbs support
  3. if( is_front_page() || is_page_template('template-landing-page.php') ) { } else {
  4. if( function_exists('yoast_breadcrumb') ) {
  5. $page_breadcrumbs = get_post_meta($post->ID, 'wpex_page_breadcrumbs', TRUE);
  6. if($page_breadcrumbs != 'hide') {
  7. echo '<div id="breadcrumbs-wrap"><div class="outerbox">';
  8. yoast_breadcrumb('<p id="breadcrumbs" class="innerbox">','</p>');
  9. echo '</div></div>';
  10. }
  11. }
  12. } ?>
Advertisement
Add Comment
Please, Sign In to add comment