Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1993 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

[Solved] Wordpress problems?

Thread title: [Solved] Wordpress problems?
Closed Thread    
    Thread tools Search this thread Display Modes  
04-07-2008, 02:11 AM
#1
bradford is offline bradford
bradford's Avatar
Status: I love this place
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 639
iTrader: 14 / 100%
 

bradford is on a distinguished road

Send a message via AIM to bradford Send a message via MSN to bradford

  Old  [Solved] Wordpress problems?

For some reason my WP site wont call the syle.css or I'm doing something wrong.

index.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">

	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />	
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>'); ?>" type="text/css" media="screen" />
	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

	<?php wp_get_archives('type=monthly&format=link'); ?>
	<?php //comments_popup_script(); // off by default ?>
	<?php wp_head(); ?>
</head>
<body>

<div id="header">
test
</div>

</body>
</html>
style.css
Code:
/*  
Theme Name: Weskinthe.net
Theme URI: http://www.weskinthe.net
Description: This is the main WSTN theme.
Version: 1.0
Author: Bradford Poole
Author URI: www.bradfordpoole.com
*/

#header{
background-image: url(images/header_bg.gif);
width: 100%;
height: 106px;
color: #ffffff;
}
Result

04-07-2008, 02:18 AM
#2
unr is offline unr
Status: Member
Join date: Oct 2007
Location: Ontario
Expertise:
Software:
 
Posts: 371
iTrader: 4 / 100%
 

unr is on a distinguished road

Send a message via MSN to unr

  Old

Change your theme name to Weskinthenet,

and then change the folder name to weskinthenet.

04-07-2008, 02:29 AM
#3
bradford is offline bradford
bradford's Avatar
Status: I love this place
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 639
iTrader: 14 / 100%
 

bradford is on a distinguished road

Send a message via AIM to bradford Send a message via MSN to bradford

  Old

Nothing changed.

04-07-2008, 05:13 AM
#4
jesselew is offline jesselew
Status: I'm new around here
Join date: Mar 2008
Location:
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

jesselew is on a distinguished road

Send a message via Yahoo to jesselew

  Old

What is the path from the public directory?

04-07-2008, 11:35 AM
#5
GoofyBMan is offline GoofyBMan
Status: I'm new around here
Join date: Apr 2008
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

GoofyBMan is on a distinguished road

  Old

Code:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>'); ?>" type="text/css" media="screen" />
i believe it is 'stylesheet_directory' u need, thats just a educated guess. so i could be totally wrong.

04-07-2008, 12:38 PM
#6
unr is offline unr
Status: Member
Join date: Oct 2007
Location: Ontario
Expertise:
Software:
 
Posts: 371
iTrader: 4 / 100%
 

unr is on a distinguished road

Send a message via MSN to unr

  Old

Originally Posted by GoofyBMan View Post
Code:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>'); ?>" type="text/css" media="screen" />
i believe it is 'stylesheet_directory' u need, thats just a educated guess. so i could be totally wrong.
Nice suggestion, but it is stylesheet_url.

Sadly, I can't see anything wrong in the code.
Only thing I can think of, is your style.css NAMED style.css?
Is it in the same level of your theme directory as your index.php?


Make sure you have the theme name in your css the same as the theme folder.
That is a must.

04-07-2008, 03:36 PM
#7
bradford is offline bradford
bradford's Avatar
Status: I love this place
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 639
iTrader: 14 / 100%
 

bradford is on a distinguished road

Send a message via AIM to bradford Send a message via MSN to bradford

  Old

/wordpress/wp-content/themes/weskinthenet/index.php and style.css

04-08-2008, 10:54 PM
#8
bradford is offline bradford
bradford's Avatar
Status: I love this place
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 639
iTrader: 14 / 100%
 

bradford is on a distinguished road

Send a message via AIM to bradford Send a message via MSN to bradford

  Old

Bump

04-08-2008, 11:08 PM
#9
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>'); ?>" type="text/css" media="screen" />

To Be:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

04-08-2008, 11:25 PM
#10
bradford is offline bradford
bradford's Avatar
Status: I love this place
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 639
iTrader: 14 / 100%
 

bradford is on a distinguished road

Send a message via AIM to bradford Send a message via MSN to bradford

  Old

Originally Posted by Garrett View Post
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>'); ?>" type="text/css" media="screen" />

To Be:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
Worked. Thanks.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed