Adding more styles to your wordpress theme, and why is that “style” highlighted ? Simple : because, this post is about making your blog look more stylish, by adding few more stylesheets ie, style sheets for categories.
I was reading this post fromÂ http://tarskitheme.com about a brilliant plugin : Category Style Sheets. byÂ Benedict Â Eastaugh. Â It is a simple but awesome plugin that allows you to add style sheets for each category of your blog. That means, you can have different background colors, images, link colors etc for individual category archives, and each post in that category.
What I have done, ( So Far )
I have created two style sheets for two of my categories. WordPress & Blogging. I have changed background colors for category archive pages, and individual pots in these two categories. Now, go to any blog post in that category and you will see the plugin in action. I have changed only the background color. Should I try more ? Do you have any suggestion ?
How To Do This
All you need to do is,
1. Â Download the plugin, activate it
2. Create a new style sheet for a category and name itÂ Â
n is the category ID). To know the category ID, Go go Dashboard > Categories > Edit category
3. Now, go back to your blog, and check it out.
Next Step, Without the Plugin
I did something else after that 3rd step. I really wanted to learn and test theme functions, ( the functions.php file ) So I created a new functions.php file for my child theme, and then added the plugin’s code there. Deleted the original plugin from my plugin’s directory, and tested the feature again Â and it worked like a charm !!
I am planning to release this child theme for the wordpress community. However, I am unsure if I can include this feature since I do not have permission from the plugin author for this. I will give it a try, anyways !
It’s your turn now !!
Yes, go ahead and try this plugin. You will love it !! But don’t forget to leave a comment here if you liked it, or if you find any trouble while enabling this feature. You can subscribe to this blog to get more updates about this feature, and you can probably grad this feature built in, when I release the theme.