I have a theme with custom Theme Options that is called from the stylesheet.php. It is called in the header.php file using this line of code:
<?php get_template_part('elements/stylesheet'); ?>
The problem is that it is being called at the very bottom of the header and anything in the enqueue_styles in the functions.php file is being loaded before the stylesheet.php file. This is causing problems with the Theme Options selections not being displayed correctly (or at all) in IE8 and IE9.
I have tried moving the get_template_part around in the header but when I do, it causes the same styling problems in FF and Chrome.
How can I add that stylesheet.php in the enqueue_styles? I had a developer on this and he just up and disappeared and this is beyond my scope.
Thanks for any help!
- The topic ‘Add PHP stylesheet to enqueue_styles in functions.php file?’ is closed to new replies.