richa837
Member
Posted 1 year ago #
I have made a theme for wordpress.But in the index.php file i had to give the path of csslike
<link rel="stylesheet" href="wp-content/themes/newTheme/style.css" type="text/css" media="screen" />
which i think should be
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
Same with images,i hadto give complete path.
Is this a right practice for making themes?
how it should be resolved?
Please help asap!
this is 'normally' the line to call style.css of a theme:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
for images which are located in the /images folder of the theme, the path would be:
<img src="<?php bloginfo('template_url'); ?>/images/this_image.jpg" />
http://codex.wordpress.org/Function_Reference/bloginfo
http://codex.wordpress.org/Theme_Development
richa837
Member
Posted 1 year ago #
Thanks,can u help me how i can make the link "Subscribe to our RSS feed" work for my website...I will have to use plugin or anything else...if yes how can i incorporate that into my sidebar....
Please help