Add Custom Body & Post Classes To First Post In Loop On Home Page

The code generates a custom class you can use to style the first post in the home page loop differently to the rest of your site.

This code needs to be pasted at the end of your child themes functions file.

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.