Tag Archives: css

body class

CSS: Add custom css class in body tag

Add following code to “functions.php” Snippet

first post class

Snippet: Add class to first post in the loop

Add following snippet to “functions.php” Snippet Result It will add “first-post” class to first post of the every post loop.

Preview: Author Box

CSS: Display Author Info Box

Add following snippet to an appropriate place in “single.php” Snippet To make it look good, lets add some css (put it in “style.css”) Result

style.css header

CSS: Style.css Header

Add following snippet to the top of your style.css file Snippet Result

Snippet: Add a custom class to the next and previous links

Add following snippet to “functions.php” Snippet

tinymce

CSS: Add custom styles to TinyMCE editor

Add following snippet to “functions.php” Snippet

Snippet: Add parent page slug to body_class

Add following snippet to “functions.php” Snippet