[wp-hackers] Weird behavior, style.css on head

Eddie O'Leary eddie at teamcolab.com
Sat May 28 22:34:34 UTC 2011


Does your theme files have php tags above and below the theme comment?


Eddie O'Leary
Web Developer
CoLab Multimedia

-Sent from my iPhone

On May 28, 2011, at 5:25 PM, Mikko Gozalo <conradmiguelegozalo at gmail.com> wrote:

> Hello.
> 
> On my header.php, I had these lines as copied from Twenty Ten theme:
> 
>> <!DOCTYPE html>
> 
> <html <?php language_attributes(); ?>>
> 
> <head>
> 
> <meta charset="<?php bloginfo( 'charset' ); ?>" />
> 
> <title> [... truncated ...] </title>
> 
> <link rel="profile" href="http://gmpg.org/xfn/11" />
> 
> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo(
>> 'stylesheet_url' ); ?>" />
> 
> 
> On my local server, it acts fine but when I uploaded it on my server and
> view the source code of the rendered page it looks like:
> 
>> <!DOCTYPE html>
> 
> <html dir=ltr lang=en-US>
> 
> <head>
> 
> <meta charset=UTF-8 />
> 
> <title>[title_of_webpage]</title>
> 
> <link rel=profile href="http://gmpg.org/xfn/11"/>
> 
> <style>/*
> 
> Theme Name: [name of thene]
> 
> Theme URI: [website]
> 
> Description: [desc]
> 
> Author: [author]
> 
> Version: 1.0
> 
> License: GNU General Public License
> 
> License URI:
> 
> Tags: blue
> 
> */
> 
> 
> The CSS itself is "pasted" on the page. I have tried disabling all plugins
> but it still acts this way.
> body {
> 
> 
> 
> -- 
> *Conrad Miguel E. Gozalo*
> http://conradmiguel.com
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list