Black Friday Sale! Get up to $40 off GP Premium!Learn more

Reply To: Load child theme css after plugin stylesheets

Home Forums Support Load child theme css after plugin stylesheets Reply To: Load child theme css after plugin stylesheets

#183546
Tom
Lead Developer
Lead Developer

You could do something like this in the wp_head hook:

<?php if ( is_front_page() ) : ?>
    <link rel='stylesheet'  href='URL TO YOUR CUSTOM STYLESHEET' type='text/css' media='all' />
<?php endif; ?>

That will load it only on the home page 🙂