Recently published WordPress themes and plugins

Smart Backup Plugin


Smart Backup is a complete WordPress solution for database backup and restore...

FREE+

Ambient Occlusion Theme


Ambient Occlusion is a clean and warm theme, with a brown/cocoa colour...

FREE+

WordPress Theme: Shiny


Shiny 2.0 is a fresh WordPress theme hot off the press! Some...

FREE+

WordPress Theme: Cyanide


This theme has originally been created for an offshore client. The theme...

FREE+

Inception Theme


On the foundation of Whiskey Air Theme, I have built a new...

FREE+

Whiskey Air Theme


I now give you Whiskey Air, a simple, imageless theme, compatible with...

FREE+

WordPress Theme: Clear Apple


Clear Apple is a clean magazine theme, no thumbnails for posts, wide...

FREE+

WordPress Theme: Blizzard


A new theme based on some old CSS template of mine and...

FREE+

WordPress Theme – X5 Turbo


X5 is the successor of X4.1 and has some small improvements over...

FREE+

On the blog

Recommended

CodeCanyon Referral Follow Turbosquid Hostgator Affiliate 2 Hostgator Affiliate 1


Currently Browsing

PHP

One of the latest features I’ve added to my sports fishing portal was the nice date feature. Instead of showing PHP formatted date and time, I wanted to display time since the action took place, like “4 hours ago”, “2 days ago”, “1 minute ago” and so on. <?php function nicetime($date) { if(empty($date)) { return "ERROR: No date provided"; }...

I’ve been working a lot these days to complete several big projects, and a handful of smaller ones. They’re all related to PHP and optimization. I’ve been thinking of a switch-based PHP preloading technique, which I’m trying to implement in a couple of projects. What I’m trying to do exactly is update my CMSs and make a general purpose one,...

Like I promised in a previous post, here is the code required to show latest 5 posts followed by 15 more, like on my homepage. You need to edit the index.php template and add 2 sub-loops separated by wp_reset_query(). Simple as that. Here is the entire index.php code (you should be able to pull the entire loop from there): <?php...

1. Use a redirect function in PHP without header/location stuff: function redirect($page,$time) { echo '<meta http-equiv="refresh" content="'.$time.'; url='.$page.'" />'; } Now use: redirect('/programming/php/page/2/index.html',3); in order to redirect to index.php after 3 seconds. 2. Generate 3 characters salt strings: // Salt Generator function generate_salt() { // Declare $salt $salt = ''; // And create it with random chars for ($i =...

First of all you need the Simplepie library. You only need the simplepie.inc file included in the archive. My example extracts 5 items from a recipe blog: <div class="block"> <h2>Latest Culinary Recipes</h2> <div class="content"> <?php $feed = new SimplePie('http://www.wordpress-site.com/feed');?> <ul> <?php foreach ($feed->get_items(0, 5) as $item): ?> <li>&raquo; <a href="<?php print $item->get_permalink();?>"><?php print substr(($item->get_title()),0,23);?> [...]</a></li> <?php endforeach; ?> </ul> </div>...