Stampede Blog

Articles / Tech

Close

Tech

Sticky Post Slider in WordPress without a Plugin

A slider gives draws the attention to the blog posts selected by the owner and allows the visitors to quickly glance through some of the best posts. It is a smart and welcomed way to promote the blog with its own posts. Many blog owners seek help from various plugins to achieve the slider for featured posts. But Guo Lin prefers to code it directly in the theme he works on, while using the existing 'Sticky Post' feature in WordPress to achieve the same effect. Keep Reading

Tech

Easy Way to Generate Complex Excel Spreadsheet Programmatically

In one of his projects, one of the requirements was the system must be able to produce an official form document in Excel spreadsheet with precise formatting that will look consistent when printed. Like the smooth strumming of his guitar, Shaiful shares a quick workaround on how to generate complicated Excel documents from your application. Keep Reading

Tech

Disable HTML Auto-Formatting in WordPress

The "HTML mode" in the WordPress editor doesn't really provide you with total control of the HTML being generated on the frontend. Some of the auto-formatting it does are for instance wrapping your inline elements with <p> and line breaks are also interpreted as <p>. If you're someone who likes full control over the HTML of your content in WordPress, this simple solution might interest you. Shaiful shows you how. Keep Reading

Tech

Book Review: Handcrafted CSS

Stampede has recently adopted the Great Book Reward policy for our wonderful team and we have chosen Handcrafted CSS as Syazwan's first book reward - and he describes it as "one awesome book for the intermediate web developer". Keep Reading

Tech

Quickly Fetch Web Feeds with SimplePie

Let's say we have a university website running on a CMS and a couple of student blogs running on a blogging tool like WPMU. Then on the university website homepage we need to pull several latest blog teasers from the student blogs. We can accomplish this quite easily with a free PHP class called SimplePie. What the library does is it fetches the blog RSS or Atom feed that we provide and parses it into an easy to use formatted data. Keep Reading

Tech

Spam Prevention Alternatives to CAPTCHA

One of the rules in today's web is if you have forms on your website, you need to have some kind of spam prevention measure implemented. Here Shaiful will talk us through the several methods that can be used and why CAPTCHA isn't one. Keep Reading

Tech

Super Firefox Extensions

As web developers, we are often caught in the situation where the things don't go too well. Working or troubleshooting with normal HTML takes times. Syazwan discloses four of his most favourite Firefox extensions that no developers can ignore without losing sleep. Keep Reading

Tech

Useful MySQL Query for Search and Replace

When working with databases, one of the tasks that may popped up every once in a while is the need to replace some little snippet of text and all its occurrence throughout the table, to a different text. If you need to perform a quick search and replace on your MySQL database records, Shaiful reassures that you should just take a seat and read on, casually. No biggie. Keep Reading

Tech

Easy Bookmarking with AddThis

AddThis is a neat little tool embedded into a webpage to make bookmarking and link sharing easier, more interactive and not to mention, cooler too. Here's how you customize AddThis while keeping the W3C validator happy. Keep Reading

HTML/CSS

My Take on HTML 5

HTML5 is packed with cool new features, code slimming advantage and a few slick solution to the current way we build front-end components of a website. Syazwan gets up, close and personal about the appeal of HTML5. Keep Reading