Linking stylesheet in Wordpress
<p>I am trying to link my stylesheet to another page in Wordpress. The actual Wordpress installation is within a folder, within the actual site. It's set up this way because I only want to use WP for a specific section of the site (it was an afterthought, I know this is isn't necessarily the "correct" way to do things...) </p>

<p>I have the front page set up and the styles are all working fine. But when a create a new page and try to use get_header to pull in the styles, they don't work. The browser is looking for a page called styles.css, not a stylesheet. </p>

<p>I've tried to use "enqueue" in the functions.php file, but it still won't work. I have a copy of my style sheet in the theme folder and also one inside a css folder. </p>

<p>Example of using enqueue for the copy inside the css folder:</p>

<pre><code>wp_enqueue_script( 'styles', 'get_stylesheet_directory_uri()' . 'css/styles2.css' );
</code></pre>

<p>*I am using get_header in my page template file, (same header as the front page which is working fine), and it is linked this way:</p>

<pre><code>&lt;link rel="stylesheet" type="text/css" href="../css/styles2.css"&gt;
</code></pre>

<p>I'm pretty sure the issue is the "../" but when I substitute <code>echo get_stylesheet_directory_uri().......</code> instead of the ../, it doesn't work as it should.</p>

<p>Any help would be great as I'm newer to WP development.</p>

<p>Thanks everyone</p>