A nice surprise
December 17th, 2009 0 CommentsNormally when an unknown person knocks at our door asking for me, I try to hide, cause it’s normally a traffic fine summons. Last week I received a nice surprise when a parcel got delivered to my door.
Normally when an unknown person knocks at our door asking for me, I try to hide, cause it’s normally a traffic fine summons. Last week I received a nice surprise when a parcel got delivered to my door.
The follow function will return true if the current wordpress page is a sub page of a specific page.
function is_tree($pid) {
global $post;
if(is_page()&&($post->post_parent==$pid||is_page($pid)||in_array($pid, $post->ancestors)))
return true;
else
return false;
};
Small wpx function to retrieve a wordpress post id, outside the loop. Copy the following code to your functions.php file.
function wpx_postID(){
global $wp_query;
return $wp_query->post->ID;
}
You can now retrieve the ID by calling wpx_postID()
Withdrawal symptoms set in after 3 weeks of sobriety and we had to get our WhiteStickSips fix.
South Africa joined the Great Wine Capitals network in 2001. Cape Town along with the other wine cities in the world highlights the best architecture, winery gardens and cellar door experience annually.
This is what Nederburg’s wine label for 2010 Fifa World Cup looks like:
So we celebrated life at this weeks White Stick Sips blind tasting. There is not a big variety at our local Midmar bottle store.
At last we were able to collect the score sheets after the tasting and crunch the numbers.
270 days ago, on the 10th of January 2009, we joined Twitter. Not knowing much about social media and tech stuff, I soon worked my way through the @, #fail, DM and RT stages. Our mission: to find all South African wine farms on twitter that we can follow.