Keltichiro
Member
Posted 4 months ago #
Halp! any WordPress theming vets out there? I've been attempting to create a theme that originally started as a PSD file. I've sliced and coded it into an html file, and then from there, I've chopped it up into the various php files that I need...I think...
I uploaded it to my themes, activated it..and I have a blank page with just my nav links...it's as if my CSS files are not being recognized, no images are showing up either...
the link to my wordpress is http://tordrive.com/torpress/
http://codex.wordpress.org/Theme_Development
look into the html code of your site in the browser - the top part of the header seems to be missing;
what is the code of header.php of your theme?
(please use the http://pastebin.com/ if you want to show it - see http://codex.wordpress.org/Forum_Welcome#Posting_Code )
for instance, look into header.php of Twenty Eleven for comparison.
Keltichiro
Member
Posted 4 months ago #
Here's my code for my header.php and also my index.php, if that helps... though, in the meanwhile, I'll peek into the header file for the Twenty Eleven theme and compare...
http://pastebin.com/p6cfA6RW
Keltichiro
Member
Posted 4 months ago #
Okay, I've figured out a bit of it - I changed my traditional CSS link to:
"<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />"
And yay! my css is now working (sort of)...my logo image is not showing up still...should I be using different code to link my image, rather than the usual "img src" etc, ?