Advertisement
Guest User

Untitled

a guest
Feb 17th, 2015
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 17.52 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @package WordPress
  4.  * @subpackage themeva  */
  5. ?>
  6. <!DOCTYPE html>
  7. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
  8. <!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
  9. <!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
  10. <!--[if gt IE 8]><!--> <html <?php language_attributes(); ?>> <!--<![endif]-->
  11. <head>
  12.  
  13. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  14.  
  15.     <?php
  16.     if( of_get_option('enable_responsive') !== 'disable' )
  17.     {  
  18.         echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
  19.     }
  20.     ?>
  21.  
  22.     <title><?php wp_title( '|', true, 'right' ); ?></title>
  23.  
  24.     <?php if( of_get_option('header_favicon') )
  25.     { ?>
  26.         <link rel="shortcut icon" href="<?php echo of_get_option('header_favicon'); ?>" />
  27.     <?php
  28.     }
  29.    
  30.     if( of_get_option('rss_feed') )
  31.     { ?>
  32.         <link rel="alternate" type="application/rss+xml" title="<?php echo of_get_option('rss_title'); ?>" href="<?php echo of_get_option('rss_feed'); ?>" />
  33.     <?php
  34.     }
  35.  
  36. /* ------------------------------------
  37. :: CUSTOM PAGE DATA
  38. ------------------------------------ */
  39.  
  40.     global $exittext,$exit_classes,$post;
  41.    
  42.     $introtext      = ( get_post_meta( $post->ID, '_cmb_introtext', true ) !='' )     ? get_post_meta( $post->ID, '_cmb_introtext', true ) : '';
  43.     $intro_classes  = ( get_post_meta( $post->ID, '_cmb_intro_classes', true ) !='' ) ? get_post_meta( $post->ID, '_cmb_intro_classes', true ) : '';
  44.     $exittext       = ( get_post_meta( $post->ID, '_cmb_exittext', true ) !='' )      ? get_post_meta( $post->ID, '_cmb_exittext', true ) : '';
  45.     $exit_classes   = ( get_post_meta( $post->ID, '_cmb_exit_classes', true ) !='' )  ? get_post_meta( $post->ID, '_cmb_exit_classes', true ) : '';
  46.     $show_slider    = ( get_post_meta( $post->ID, '_cmb_gallery', true ) !='' )       ? get_post_meta( $post->ID, '_cmb_gallery', true ) : '';
  47.     $gallerycat     = ( get_post_meta( $post->ID, '_cmb_gallerycat', true ) !='' )    ? get_post_meta( $post->ID, '_cmb_gallerycat', true ) : '';
  48.    
  49.    
  50.     require_once NV_FILES ."/inc/page-constants.php"; // Page Constants
  51.  
  52.  
  53. /* ------------------------------------
  54. :: SKIN DATA
  55. ------------------------------------ */
  56.    
  57.     $preview_skin = ( get_option('preview_skin') !='' && get_option('customize_skin') == 'customizing' ) ? get_option('preview_skin') : '';
  58.  
  59.     if( isset( $_GET['preview_skin'] ) )
  60.     {
  61.         if( $_GET['preview_skin'] != '' )
  62.         {
  63.             $preview_skin = $_GET['preview_skin'];
  64.         }
  65.     }  
  66.    
  67.     // if preivewing skin
  68.     if( !empty($preview_skin) )
  69.     {
  70.         $get_skin_data = maybe_unserialize(get_option('skin_data_'.$preview_skin));
  71.    
  72.         global $NV_frame_footer,$NV_branding_ver;
  73.        
  74.         $NV_skin = $preview_skin;
  75.        
  76.         $NV_frame_header = $get_skin_data['skin_id_frame_header'];
  77.         $NV_frame_main   = $get_skin_data['skin_id_frame_main'];
  78.         $NV_frame_footer = $get_skin_data['skin_id_frame_footer'];
  79.         $NV_branding_ver = $get_skin_data['skin_id_branding_ver'];
  80.     }
  81.     else
  82.     {
  83.         if( !empty($NV_skin) ) $skin = $NV_skin; elseif(DEFAULT_SKIN) $skin = DEFAULT_SKIN; else $skin = $NV_defaultskin;
  84.        
  85.         $get_skin_data = maybe_unserialize( get_option('skin_data_'.$skin) );
  86.        
  87.         global $NV_frame_footer,$NV_branding_ver;
  88.        
  89.         $NV_frame_header = $get_skin_data['skin_id_frame_header'];
  90.         $NV_frame_main   = $get_skin_data['skin_id_frame_main'];
  91.         $NV_frame_footer = $get_skin_data['skin_id_frame_footer'];
  92.         $NV_branding_ver = $get_skin_data['skin_id_branding_ver'];
  93.        
  94.     } ?>
  95.  
  96.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  97.    
  98.  
  99.     <?php
  100.    
  101.     require_once NV_DIR.'/style.php';
  102.  
  103.     // Inner Skin CSS
  104.     $default_inner_skin = ( get_option('inskin') !='' ) ? get_option('inskin') : 'light';
  105.    
  106.     $get_inner_skin = ( $get_skin_data['skin_id_icon_color'] != '' && $get_skin_data['skin_id_icon_color'] != 'default' ) ? $get_skin_data['skin_id_icon_color'] : $default_inner_skin;
  107.     $inner_skin = ( get_post_meta( $post->ID, '_cmb_innerskin', true ) !='' ) ? get_post_meta( $post->ID, '_cmb_innerskin', true ) : $get_inner_skin;
  108.    
  109.     // Set default divider shade
  110.     if( $inner_skin == 'dark' )
  111.     {
  112.         $default_shade = 'divider-dark';
  113.     }
  114.     else
  115.     {
  116.         $default_shade = 'divider-light';
  117.     }
  118.    
  119.     global $NV_footer_divider;
  120.    
  121.     $NV_main_divider = ( $get_skin_data['skin_id_main_divider_shade'] != '' ) ? 'divider-'. $get_skin_data['skin_id_main_divider_shade'] : $default_shade;
  122.     $NV_header_divider = ( $get_skin_data['skin_id_header_divider_shade'] != '' ) ? 'divider-'. $get_skin_data['skin_id_header_divider_shade'] : 'divider-medium';
  123.     $NV_footer_divider = ( $get_skin_data['skin_id_footer_divider_shade'] != '' ) ? 'divider-'. $get_skin_data['skin_id_footer_divider_shade'] : 'divider-medium'; 
  124.    
  125.     // Enqueue Dark CSS
  126.     if ( !is_admin() )
  127.     {  
  128.         if( $get_skin_data['skin_id_icon_color'] == 'dark' || $inner_skin == 'dark' && $inner_skin != 'light' ) :
  129.            
  130.         wp_register_style('style-dark', get_template_directory_uri().'/style.dark.css',array('northvantage-style'));
  131.         wp_enqueue_style('style-dark');
  132.            
  133.         endif;
  134.     }
  135.    
  136.     // Cufon Font Replacement Script
  137.     require_once NV_FILES ."/inc/cufon-replace.php";
  138.    
  139.     wp_head();
  140.  
  141. /* ------------------------------------
  142. :: BROWSER SUPPORT
  143. ------------------------------------ */ ?>
  144.  
  145.     <!--[if IE 7]>
  146.     <link href="<?php echo get_template_directory_uri(); ?>/stylesheets/ie7.css" rel="stylesheet" type="text/css" />
  147.     <![endif]-->
  148.     <!--[if lte IE 8]> 
  149.     <script src="<?php echo get_template_directory_uri(); ?>/js/ie7.js" type="text/javascript"></script>
  150.     <link href="<?php echo get_template_directory_uri(); ?>/stylesheets/ie.css" rel="stylesheet" type="text/css" />
  151.     <![endif]-->
  152.    
  153.     <?php if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPad')) { $i_device=true; } else { $i_device=''; } // detect iPhone / iPad
  154.  
  155.     // Tracking Code
  156.     if( of_get_option( 'tracking_code' ) ) echo  of_get_option( 'tracking_code' ); ?>
  157.  
  158. </head>
  159. <body <?php body_class('skinset-background nv-skin'); ?>>
  160.  
  161.     <div id="primary-wrapper" <?php echo 'class="nv-'. $inner_skin .'"'; ?>>
  162.         <div class="site-inwrap clearfix">
  163.         <a id="top"></a>
  164.        
  165.         <?php
  166.        
  167.         $layerset1 = ( $get_skin_data['skin_id_layer1_type'] != '' ) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer1_type'])) : '';
  168.         $layerset2 = ( $get_skin_data['skin_id_layer2_type'] != '' ) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer2_type'])) : '';
  169.         $layerset3 = ( $get_skin_data['skin_id_layer3_type'] != '' ) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer3_type'])) : '';
  170.         $layerset4 = ( $get_skin_data['skin_id_layer4_type'] != '' ) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer4_type'])) : '';
  171.         $layerset5 = ( $get_skin_data['skin_id_layer5_type'] != '' ) ? stripslashes(htmlspecialchars($get_skin_data['skin_id_layer5_type'])) : '';
  172.        
  173.         // Set Fixed Position for specific background layers
  174.         if($layerset1 == 'layer1_imagefull' || $layerset1 == 'layer1_video' || $layerset1 == 'layer1_cycle') $layer1_fixed='fixed'; else $layer1_fixed='';
  175.         if($layerset2 == 'layer2_imagefull' || $layerset2 == 'layer2_video' || $layerset2 == 'layer2_cycle') $layer2_fixed='fixed'; else $layer2_fixed='';
  176.         if($layerset3 == 'layer3_imagefull' || $layerset3 == 'layer3_video' || $layerset3 == 'layer3_cycle') $layer3_fixed='fixed'; else $layer3_fixed='';
  177.         if($layerset4 == 'layer4_imagefull' || $layerset4 == 'layer4_video' || $layerset4 == 'layer4_cycle') $layer4_fixed='fixed'; else $layer4_fixed='';
  178.         if($layerset5 == 'layer5_imagefull' || $layerset5 == 'layer5_video' || $layerset5 == 'layer5_cycle') $layer5_fixed='fixed'; else $layer5_fixed='';
  179.  
  180. /* ------------------------------------
  181. :: MAIN BACKGROUND
  182. ------------------------------------ */
  183.    
  184.     echo "n". '<div id="custom-layer5-color" class="custom-layer"></div>';
  185.     echo "n". '<div id="custom-layer5" class="custom-layer '. $layer5_fixed .'">';
  186.    
  187.     if( !empty( $layerset5 ) ) echo setlayer_html( "layer5" ,$layerset5, $skin );
  188.    
  189.     echo "n". '</div>';
  190.  
  191. /* ------------------------------------
  192. :: CONFIGURE HEADER
  193. ------------------------------------ */
  194.  
  195.     if( $NV_disableheader != 'yes' )
  196.     {
  197.         require NV_FILES ."/inc/config-header.php";
  198.     }
  199.     else
  200.     {
  201.         echo '<div class="row"></div>';
  202.     }
  203.    
  204. /* ------------------------------------
  205. :: REVOLUTION SLIDER
  206. ------------------------------------ */
  207.  
  208.     if( is_page() )
  209.     {
  210.         if( $NV_show_slider == "revslider" && class_exists('RevSlider') )
  211.         {
  212.             $revslider_id = get_post_meta( $post->ID, '_cmb_data-7', true );
  213.            
  214.             if( !empty( $revslider_id ) )
  215.             {
  216.                 echo "nt". '<div class="revslider-container">';
  217.                 echo "ntt". putRevSlider( $revslider_id );
  218.                 echo "nt". '</div>';
  219.                
  220.             }
  221.         }
  222.         elseif( $NV_show_slider == "revslider" && !class_exists('RevSlider') )
  223.         {
  224.            
  225.                 echo "nt". '<div class="revslider-container install-plugin">';
  226.                 echo "ntt". '<p>'. __( 'Install Revolution Slider Plugin','themeva' ) .'</p>'; 
  227.                 echo "nt". '</div>';
  228.         }      
  229.     }  
  230.  
  231. /* ------------------------------------
  232. :: STAGE GALLERY, iSLIDER, NIVO
  233. ------------------------------------ */
  234.  
  235.     if( is_page() )
  236.     {
  237.         if( $NV_show_slider == "stageslider" || $NV_show_slider == "islider" || $NV_show_slider == "nivo" )
  238.         {
  239.             require NV_FILES ."/inc/gallery-stage.php"; // Stage Gallery
  240.         }
  241.     }
  242.  
  243. /* ------------------------------------
  244. :: PIECEMAKER
  245. ------------------------------------ */
  246.    
  247.     // if iPad or iPhone
  248.     if( $i_device && $NV_show_slider == "gallery3d" )
  249.     {
  250.         if(is_page())
  251.         {
  252.             require NV_FILES ."/inc/gallery-stage.php"; // Stage Gallery
  253.         }
  254.    
  255.     }
  256.     else
  257.     {
  258.         if(is_page())
  259.         {
  260.             if( $NV_show_slider == "gallery3d" )
  261.             {
  262.                 require NV_FILES .'/inc/gallery-piecemaker.php'; //
  263.             }
  264.         }
  265.     }
  266.  
  267.     echo '<div class="wrapper main">';
  268.  
  269.  
  270. /* ------------------------------------
  271. :: ACCORDION
  272. ------------------------------------ */
  273.  
  274.     if(is_page())
  275.     {
  276.         if( $NV_show_slider == "galleryaccordion" )
  277.         {
  278.             require NV_FILES .'/inc/gallery-accordion.php';
  279.         }
  280.     }
  281.  
  282. /* ------------------------------------
  283. :: GRID
  284. ------------------------------------ */
  285.    
  286.     if(is_page())
  287.     {
  288.         if( $NV_show_slider == "gridgallery" && $NV_groupsliderpos != "below" )
  289.         {
  290.             if( $NV_gridfilter == 'yes' ) $NV_galleryclass = $NV_galleryclass . ' filter';
  291.             //echo '<div id="grid-main" data-grid-columns="'. $NV_gridcolumns .'" class="gallery-wrap grid-gallery row '. $NV_galleryclass .' nv-skin">';
  292.                 require NV_FILES ."/inc/gallery-grid.php"; // Group Slider Gallery
  293.             //echo '</div>';
  294.         }
  295.     }
  296.  
  297. /* ------------------------------------
  298. :: GROUP SLIDER
  299. ------------------------------------ */
  300.  
  301.     if(is_page())
  302.     {
  303.         if( $NV_show_slider == "groupslider" && $NV_groupsliderpos != "below" )
  304.         {
  305.             require NV_FILES ."/inc/gallery-groupslider.php"; // Group Slider Gallery
  306.         }
  307.     }
  308.  
  309. /* ------------------------------------
  310. :: TWITTER
  311. ------------------------------------ */
  312.  
  313.     if( $NV_twitter == 'pagetop' )
  314.     {
  315.         echo "n" . '<div class="row">';
  316.         echo "nt" . '<div class="twitter-wrap nv-skin disabled">';
  317.        
  318.         require NV_FILES .'/inc/twitter.php'; // Call Twitter Template
  319.        
  320.         echo "nt" . '</div>';
  321.         echo "n" . '</div>';
  322.     }
  323.  
  324. /* ------------------------------------
  325. :: INTRO TEXT
  326. ------------------------------------ */
  327.  
  328.     // Content Border
  329.     if( $NV_contentborder == "yes" )
  330.     {
  331.         $NV_frame_main = 'disabled';   
  332.     }
  333.  
  334.     // Content Border BP
  335.     if( class_exists( 'BP_Core_User' ) )
  336.     {
  337.         if( of_get_option('buddycontentborder') == 'disabled' && !bp_is_blog_page() )
  338.         {
  339.             $NV_frame_main = 'disabled';
  340.         }
  341.     }  
  342.    
  343.     // Content Border bbPress
  344.     if( class_exists( 'bbPress' ) )
  345.     {
  346.         if( of_get_option('buddycontentborder') == 'disabled' && is_bbpress() )
  347.         {
  348.             $NV_frame_main = 'disabled';
  349.         }
  350.     }      
  351.  
  352.     // Hide Main Content
  353.     if( $NV_hidecontent != "yes" )
  354.     {
  355.         global $wp_query;
  356.        
  357.         if( $NV_contentborder != 'yes' || is_search() )
  358.         {
  359.             $NV_contentborder = "no";
  360.         }
  361.        
  362.         echo "n" . '<div class="content-wrap row">';
  363.         echo "nt" . '<div class="'. $NV_frame_main .' skinset-main nv-skin columns twelve '. $NV_main_divider .'">';
  364.        
  365.     }
  366.  
  367.  
  368. /* ------------------------------------
  369. :: BREADCRUMBS
  370. ------------------------------------ */
  371.  
  372.  
  373.     if ( class_exists( 'BP_Core_User' ) )
  374.     {
  375.         if( !bp_is_blog_page() )
  376.         {
  377.             if( empty( $NV_hidebreadcrumbs ) ) $NV_hidebreadcrumbs = "yes";
  378.         }
  379.     }
  380.    
  381.    
  382.     if( class_exists('WPSC_Query') )
  383.     {
  384.         if( get_post_type() == 'wpsc-product' || is_products_page() )
  385.         {
  386.             if( !wpsc_has_breadcrumbs() )
  387.             {
  388.                 if( empty( $NV_hidebreadcrumbs ) ) $NV_hidebreadcrumbs = "yes";
  389.             }
  390.         }
  391.     }
  392.    
  393.     if( is_front_page() || of_get_option('breadcrumb') == 'disable' ) $NV_hidebreadcrumbs = 'yes';
  394.    
  395.     // Sub Header Display  
  396.     if( $NV_hidebreadcrumbs == 'yes' && ( empty( $NV_socialicons ) || $NV_socialicons == 'off' ) && empty( $NV_textresize ) ) $NV_disable_subtabs = 'yes'; else $NV_disable_subtabs = '';
  397.    
  398.     if( $NV_disable_subtabs != 'yes' ) { ?>
  399.    
  400.         <div class="sub-header row">
  401.        
  402.             <?php
  403.             if( $NV_socialicons == "yes" || $NV_textresize == "yes" )
  404.             {
  405.                 echo '<div class="resize-social-wrap columns">';
  406.                     require_once NV_FILES .'/inc/social-icons.php';                  
  407.                 echo '</div><!-- / resize-social-wrap -->';
  408.             }
  409.        
  410.             if( $NV_hidebreadcrumbs != 'yes' )
  411.             { ?>
  412.                 <div id="sub-tabs" class="columns five">
  413.                     <?php
  414.                    
  415.                     if( class_exists('bbPress') && is_bbpress() )
  416.                     {
  417.                         bbp_breadcrumb();
  418.                     }
  419.                     else
  420.                     { ?>
  421.                         <ul>
  422.                         <?php                                          
  423.                             if( function_exists('wpsc_has_breadcrumbs') || function_exists( 'woocommerce_breadcrumb' ) )
  424.                             {  
  425.                                 // Woocommerce Breadcrumb
  426.                                 if ( function_exists( 'woocommerce_breadcrumb' ) )
  427.                                 {
  428.                                     woocommerce_breadcrumb('delimiter= / &wrap_before=<div class="breadcrumb">');
  429.                                 }
  430.                                
  431.                                 // WP e-Commerce Breadcrumb            
  432.                                 if( function_exists('wpsc_has_breadcrumbs') )
  433.                                 {  
  434.                                     if(wpsc_has_breadcrumbs() && !is_page() )
  435.                                     { ?>
  436.                                         <div class='breadcrumb'>
  437.                                             <li class="home">
  438.                                                 <a href='<?php echo get_option('product_list_url'); ?>'><?php echo get_option('blogname'); ?></a>
  439.                                                 <span class="subbreak">/</span>
  440.                                             </li>
  441.                                             <?php
  442.                                             while (wpsc_have_breadcrumbs()) : wpsc_the_breadcrumb();
  443.                                                 if(wpsc_breadcrumb_url())
  444.                                                 { ?>      
  445.                                                     <li>
  446.                                                         <a href='<?php echo wpsc_breadcrumb_url(); ?>'><?php echo wpsc_breadcrumb_name(); ?></a>
  447.                                                         <span class="subbreak">/</span>
  448.                                                     </li>
  449.                                                 <?php
  450.                                                 }
  451.                                                 else
  452.                                                 { ?>
  453.                                                     <li><?php echo wpsc_breadcrumb_name(); ?></li>
  454.                                                     <li class="subbreak">/</li>
  455.                                             <?php
  456.                                                 }
  457.                                             endwhile;
  458.                                            
  459.                                             if ($wp_query->is_single === true && get_post_type() == 'wpsc-product')
  460.                                             { ?>
  461.                                                 <li class="current_page_item">
  462.                                                     <?php echo wpsc_the_product_title(); ?>
  463.                                                     <span class="subbreak">/</span>
  464.                                                 </li>
  465.                                             <?php
  466.                                             } ?>
  467.                                         </div>
  468.                                         <?php
  469.                                     }
  470.                                     else
  471.                                     {
  472.                                         if (function_exists('DYN_breadcrumbs')) DYN_breadcrumbs();  
  473.                                     }
  474.                                 }
  475.                             }
  476.                             else
  477.                             {
  478.                                 if (function_exists('DYN_breadcrumbs')) DYN_breadcrumbs();
  479.                             } ?>
  480.                         </ul>
  481.                     <?php
  482.                     } ?>
  483.                 </div>
  484.             <?php
  485.             } ?>
  486.         </div>
  487.     <?php
  488.     }
  489.  
  490.     // Hide Main Content
  491.     if( $NV_hidecontent != "yes" )
  492.     {
  493.         if( !empty($introtext) || $NV_pagetitle != "BLANK" && is_page() )
  494.         {
  495.             if( empty($intro_classes) ) $intro_classes='';
  496.            
  497.             echo "n" . '<div class="row">';
  498.             echo "nt" . '<div class="intro-text '. $intro_classes.' columns twelve">';
  499.             echo "ntt" . '<div>';
  500.                        
  501.             if( !empty( $NV_postdate ) && !empty( $NV_authorname ) && !empty( $NV_pagesubtitle ) && !empty( $NV_pagetitle ) || $NV_pagetitle !="BLANK")
  502.             {
  503.                 echo "nttt" . '<div class="post-titles entry-header"><!-- post-titles -->';
  504.                
  505.                 if( !empty($NV_pagetitle) )
  506.                 {
  507.                     if( $NV_pagetitle != "BLANK" )
  508.                     {
  509.                         echo "ntttt" . '<h1 class="entry-title">'. htmlspecialchars( do_shortcode($NV_pagetitle) ) .'</h1>';
  510.                     }
  511.                 }
  512.                 else
  513.                 {
  514.                     if( $NV_pagetitle != "BLANK" )
  515.                     {
  516.                         echo "ntttt" . '<h1 class="entry-title">'. get_the_title() .'</h1>';
  517.                     }
  518.                 }      
  519.                
  520.                 if( !empty($NV_pagesubtitle) )
  521.                 {
  522.                     echo "ntttt" . '<h2>'. htmlspecialchars( do_shortcode($NV_pagesubtitle) ) .'</h2>';
  523.                 }
  524.    
  525.                 if( $NV_postdate || $NV_authorname != 'disable' )
  526.                 {
  527.                     echo "ntttt" . '<div class="post-date">';
  528.                    
  529.                     if( $NV_postdate )
  530.                     {
  531.                         echo "nttttt" . '<small class="date updated">'. get_the_time('F jS  Y') .'</small><span class="break">&nbsp;</span>';
  532.                     }
  533.                    
  534.                     if( $NV_authorname != 'disable' )
  535.                     {
  536.                         echo "nttttt" . '<small>'. __('By', 'themeva') .' <span class="vcard author">'. get_the_author_meta( 'display_name' , $wp_query->post->post_author ) .'</span></small>';
  537.                     }
  538.                    
  539.                     echo "ntttt" . '</div>';
  540.                 }          
  541.                
  542.                 echo "nttt" . '</div><!-- /post-titles -->';
  543.             }  
  544.            
  545.             // Intro Text
  546.             if( !empty($introtext) ) echo do_shortcode($introtext);
  547.    
  548.             echo "ntt" . '</div>';
  549.             echo "ntt" . '<div class="clear"></div>';
  550.             echo "nt" . '</div>';
  551.             echo "n" . '</div>';   
  552.         }  
  553.     }
  554.    
  555.     echo "n" . '<div class="row main-row">';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement