Report Building worpress theme from scratch tutorial in Wordpress Videos Posted August 14, 2012 I'm working on "Introducing the Wordpress API". I can't get index.php and style.css to link. Where have I screwed up? Here's my index.php <!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" /> <?php wp_head(); ?> </head> <body> <h1><?php bloginfo('name');?> </h1> <h2><?php bloginfo('description');?> </h2> </body> </html> And here's my style.css /* Theme Name: My Template Theme URI: http://localhost/wordpress Description: Simple Wordpress Theme Version: 1.0 Author: Gerry Senker /* * { padding:0 0; margin:0 0; } body { }
Building worpress theme from scratch tutorial
in Wordpress Videos
Posted
I'm working on "Introducing the Wordpress API". I can't get index.php and style.css to link.
Where have I screwed up?
Here's my index.php
<!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed"
href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
<?php wp_head(); ?>
</head>
<body>
<h1><?php bloginfo('name');?> </h1>
<h2><?php bloginfo('description');?> </h2>
</body>
</html>
And here's my style.css
/*
Theme Name: My Template
Theme URI: http://localhost/wordpress
Description: Simple Wordpress Theme
Version: 1.0
Author: Gerry Senker
/*
*
{
padding:0 0;
margin:0 0;
}
body
{
}