Guest User

Untitled

a guest
Mar 2nd, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.19 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @package WordPress
  5. * @subpackage Skin
  6. * @since Skin 1.0
  7. */
  8. get_header(); ?>
  9. <main>
  10.  
  11. <div class="main-wrapper">
  12.     <div class="container content-holder">
  13.         <div class="row">
  14.            
  15.             <!-- BrearCrumbs-->
  16.                 <?php if ( function_exists('yoast_breadcrumb') ) {
  17.                    $yoast_links_options    =  get_option( 'wpseo_internallinks' );
  18.                    $yoast_bc_enabled       =  esc_attr( $yoast_links_options['breadcrumbs-enable'] );
  19.                        if ($yoast_bc_enabled) { ?>
  20.                         <div class="col-md-12 breadcrumb">
  21.                             <span class="breadcrumb_heading"> <?php _e('you are here','skin'); ?></span>
  22.                             <?php yoast_breadcrumb('<p id="breadcrumbs"> <i class="fa fa-home fa-2x"></i>','</p>'); ?>
  23.                         </div>
  24.                         <?php } else { ?>
  25.                         <div class="col-md-12 breadcrumb">
  26.                            <span class="skin_breadcrumb breadcrumb_heading"> <?php _e('you are here','skin'); ?> <i class="fa fa-home fa-2x"></i></span>
  27.                             <?php skin_breadcrumb();  ?>
  28.                         </div>
  29.                         <?php }
  30.                    } ?>  
  31.            <!-- BrearCrumbs-->
  32.  
  33.  
  34.             <?php $title_position =   get_post_meta($post->ID, 'title-position', true);
  35.                  if ( $title_position == 'full-width' ){?>
  36.                 <div class="title-holder">
  37.                     <h1><?php the_title();?> </h1>
  38.                     <?php skin_post_meta(); ?>
  39.                 </div>
  40.             <?php }?>
  41.            
  42.             <div class="content-wrapper col-md-8">
  43.                
  44.                 <?php
  45.                /*
  46.                 * This action hook will get the layout file selected from the theme customizer.
  47.                */
  48.                
  49.                do_action('skin_single_content_area_hook'); ?>
  50.                
  51.             </div><!-- .content-wrapper -->
  52.    
  53.             <?php get_sidebar(); ?>
  54.            
  55.         </div><!-- .row -->
  56.     </div><!-- .container -->
  57. </div><!-- .main-wrapper -->
  58.    
  59. </main>
  60. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment