Advertisement
Guest User

Header post http://br.forums.wordpress.org/topic/redirecionando-home?replies=4#post-8873

a guest
Aug 17th, 2010
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.50 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Core header file, invoked by the get_header() function
  4.  *
  5.  * @package Suffusion
  6.  * @subpackage Templates
  7.  */
  8.  
  9. global $suffusion_unified_options;
  10. foreach ($suffusion_unified_options as $id => $value) {
  11.     $$id = $value;
  12. }
  13.  
  14. if ($suf_site_gzip_enabled == 'gzip') {
  15.     ob_start ("ob_gzhandler");
  16.     header("Content-type: text/html; charset: UTF-8");
  17.     header("Cache-Control: must-revalidate");
  18.     $offset = 86400; //1209600 ;
  19.     $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
  20.     header($ExpStr);
  21. }
  22. ?>
  23. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  24. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  25.  
  26. <head profile="http://gmpg.org/xfn/11">
  27.     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  28.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  29.  
  30. <?php
  31. suffusion_document_header();
  32. if ( is_singular() ) {
  33.     wp_enqueue_script( 'comment-reply' );
  34. }
  35. wp_head();
  36. ?>
  37. </head>
  38. <body <?php if ($suf_body_class_use == 'use') body_class();?>>
  39.     <?php suffusion_before_page(); ?>
  40.         <?php
  41.             suffusion_before_begin_wrapper();
  42.         ?>
  43.         <div id="wrapper" class="fix">
  44.         <?php
  45.             suffusion_after_begin_wrapper();
  46.         ?>
  47.             <div id="container" class="fix">
  48. <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>               
  49. <?php
  50.                     suffusion_after_begin_container();
  51.                 ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement