Simple Javascript banner ad rotating snippet

Here’s a simple javascript snippet to rotate ad banners. You can use it in your WordPress sidebar as a widget to rotate the ad banners. At the moment of writing this post, we’ve got the banners rotating in our sidebars using this snippet. The following snippet can be used to update two ads. You will […]

Read More »
Prism syntax highlighter – Copy to Clipboard – Fix

Recently I created a blog entry regarding enabling prism syntax highlighter on WordPress code snippets. There’s one extra setup needed if you are going to use the copy to clipboard plugin like this website uses. In addition to including the plugin file with your PrismJS build, we will need to make sure Clipboard.js is loaded […]

Read More »