Advertisement
Guest User

template final

a guest
Jul 21st, 2014
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.97 KB | None | 0 0
  1. <?php
  2. function dequeue_theme_styles() {
  3.     global $wp_styles;
  4.    
  5.     foreach( $wp_styles -> registered as $registered ) {
  6.         if( strstr( $registered->src, '/themes/') ) {
  7.            
  8.             wp_dequeue_style( $registered->handle );
  9.         }
  10.     }
  11.  
  12. }
  13. add_action( 'wp_enqueue_scripts', 'dequeue_theme_styles' );
  14. ?>
  15. <!DOCTYPE html>
  16. <html <?php language_attributes(); ?>>
  17.     <head>
  18.         <meta name="robots" content="noindex,nofollow">
  19.         <meta charset="<?php bloginfo( 'charset' ); ?>" />
  20.         <title><?php wp_title(); ?></title>
  21.         <link rel="profile" href="http://gmpg.org/xfn/11" />
  22.         <?php wp_head(); ?>
  23.     </head>
  24.    
  25.     <body id="weic-body">
  26.         <?php
  27.     if ( have_posts() ) {?>
  28.                      <h2><?php the_title(); ?></h2>
  29.                     <?php
  30.                     the_content();
  31.             //
  32.             // Post Content here
  33.             //
  34.        
  35.     } // end if
  36. ?>
  37.        
  38.         <?php wp_footer(); ?>
  39.     </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement