category Snippets

Advanced custom WordPress excerpt

Customizing WordPress excerpt is essential once content gets grow on a WordPress site. Unfortunately the usual inline HTML output echoed out straight from PHP makes maintaining such modules quiet cumbersome. Custom WordPress excerpt // Include this to your ‘function.php’ somehow. function excerpt_filter($excerpt) { return ‘Customized’.$excerpt; } add_filter(‘get_the_excerpt’, ‘excerpt_filter’); While creating a custom WordPress excerpt is […]

Create iOS 7 blur effect with latest APIs

There are numerous approach out there to create iOS 7 blur effect, this solution involves some fresh iOS 7 UIView APIs, along with new GPUImage filters.
Blurred overlay effect itself was at the table for ages, though, incorporating it in iOS 7 gave a huge shot to it’s popularity. Creating an iOS 7 blur effect basically involves two step, create a snapshot of the underlying content of some context, and apply a blur on it. There are numerous approach out there, this solution involves some fresh APIs.