Template not bringing in CSS styling
I took my first shot at creating my own template page today to pull in some php. Someone else wrote the php code that I was pulling in – I am not fluent in php at all.
Overall, I’m pretty excited that I got it running though by using a template file. I’m currently using a plugin and would like to get away from that.
Anyway, the page is working except for one thing – it didn’t seem to bring in the style sheet.
Here’s the page:
Here’s the mark up on my template page:
<?php /* Template Name: example-test */ ?> <?php get_header(); ?> <div id="content_area" class="clearfix fullwidth"> <div id="main_content"> <?php get_template_part('includes/breadcrumbs','index'); ?> <?php get_template_part('loop','page'); ?> <?php include (TEMPLATEPATH . '/example-test.php')?> </div> <!-- end #main_content --> </div> <!-- end #content_area --> <?php get_footer(); ?>
Here’s what it’s supposed to look like:
It’s got to be something simple right? What do I need to do to bring in the stylesheet around the main content?
Any help appreciated.
- The topic ‘Template not bringing in CSS styling’ is closed to new replies.