Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <!DOCTYPE html>
  2. <!--[if IE 6]>
  3. <html id="ie6" <?php language_attributes(); ?>>
  4. <![endif]-->
  5. <!--[if IE 7]>
  6. <html id="ie7" <?php language_attributes(); ?>>
  7. <![endif]-->
  8. <!--[if IE 8]>
  9. <html id="ie8" <?php language_attributes(); ?>>
  10. <![endif]-->
  11. <!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
  12. <html <?php language_attributes(); ?>>
  13. <!--<![endif]-->
  14. <head>
  15. <meta charset="<?php bloginfo('charset'); ?>" />
  16. <meta name="viewport" content="width=device-width" />
  17. <?php
  18.     global $page, $paged;
  19.     $title  = '';
  20.     $title .= wp_title('|', false, 'right');
  21.     $title .= get_bloginfo('name');
  22.     $site_description = get_bloginfo('description', 'display');
  23.     if ($site_description && (is_home() || is_front_page())) {
  24.         $title .= ' | ' . $site_description;
  25.     }
  26.     if ($paged >= 2 || $page >= 2) {
  27.         $title .= ' | ' . sprintf(__('Page %s', 'makintab'), max($paged, $page));
  28.     }
  29. ?>
  30. <title><?php echo $title; ?></title>
  31. <link rel="profile" href="http://gmpg.org/xfn/11" />
  32. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
  33. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  34. <?php
  35.     if (is_singular() && get_option('thread_comments')) {
  36.         wp_enqueue_script('comment-reply');
  37.     }
  38.     wp_head();
  39. ?>
  40. </head>
  41. <?php $singular = (is_singular() || is_404() ? 'singular' : ''); ?>
  42. <body <?php body_class($singular); ?>>
  43. <div id="container" class="hfeed">
  44.  
  45.     <div id="header-wrap">
  46.         <div id="header">
  47.             <div id="branding">
  48.                 <h1 id="site-title"><a href="<?php echo esc_url(home_url('/')); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a></h1>
  49.                 <h2 id="site-description"><?php bloginfo('description'); ?></h2>
  50.             </div><!-- #branding -->
  51.  
  52.             <div class="widget-area">
  53.                 <div class="widget widget_socialnet">
  54.                     <?php padd_theme_widget_socialnet(); ?>
  55.                 </div><!-- .widget widget_search -->
  56.             </div>
  57.  
  58.             <div class="clear"></div>
  59.         </div><!-- #header -->
  60.     </div><!-- #header-wrap -->
  61.    
  62.     <div id="menubar-wrap">
  63.         <div id="menubar">
  64.             <?php
  65.                 wp_nav_menu(array(
  66.                     'theme_location' => 'primary',
  67.                     'container'      => false,
  68.                 ));
  69.             ?>
  70.         </div><!-- #menubar -->
  71.     </div><!-- #menubar -->
  72.    
  73.         <?php $slideshow = Padd_Option::get('slideshow_enable') == '1' ? true : false; ?>
  74.     <?php if (is_front_page() && $slideshow) : ?>
  75.     <div id="intro-wrap">
  76.         <div id="intro-slideshow">
  77. <?php echo wp_bannerFlash_short_php(1,2,3,4,5); ?>
  78.            
  79.         </div><!-- #intro-slideshow -->
  80.  
  81.  
  82.         <div id="intro-headlines">
  83.             <h2><?php echo __('Portafolios', PADD_THEME_SLUG); ?></h2>
  84.             <?php
  85.                 $cat = Padd_Option::get('headline_category');
  86.                 $args = array (
  87.                     'cat_before' => '<h3 class="featured-category-title">Latest on',
  88.                     'cat_after' => '</h3>',
  89.                     'show_meta' => false
  90.                 );
  91.         if (!empty($cat)) {
  92.                 padd_category_items(intval($cat), $args);                          
  93.                 }
  94.                
  95.             ?>
  96.         </div><!-- #intro-headlines -->
  97.  
  98.  
  99.    
  100.     </div><!-- #intro-wrap -->
  101.     <?php endif; ?>
  102.  
  103.  
  104.         <div id="main">