Archive for the ‘Code’ Category

Turn off comments on SA news websites

Wednesday, August 17th, 2011

Tired of reading bigoted, fundamentalist or any comments at all on SA news websites? Well you’re in luck! I have created a userscript that hides the comments section on these popular SA news sites, allowing you to read the news without accidentally scrolling to the comments section (and potentially damage your IQ). User scripts, or [...]

Tags: , , ,

Simple jQuery animated collapsible div

Monday, April 4th, 2011

I recently had to develop a way to hide a part of a website and then toggle its visibility when you click a button. The solution that came to mind was to use jQuery to hide, toggle the display, animate the appearance, add an arrow and then use some CSS for styling. This method can [...]

Tags: ,

My top 5 WordPress hacks

Sunday, August 8th, 2010

When developing a theme for a client you can make use of WordPress hacks in your functions.php file to achieve the desired result, whether it is to replace the login logo or to disable menus. You can put all these hacks into your functions.php file and simply comment or uncomment them as you need them. [...]

Tags: ,