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

Mikko Gozalo conradmiguelegozalo at gmail.com
Sat May 28 21:25:26 UTC 2011


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


More information about the wp-hackers mailing list