| |

Three pieces of code to replace WordPress plugins

While WordPress plugins are really useful, you don’t need plugins always to add certain features to your themes. Here are a few code snippets you can add to your theme files to display recent posts, random posts and recent comments. Recent Posts The following code will enclose the latest 10 posts in an unordered list.