//=]
JPA berwajah baru (22/05/2008)
Good news for PHP developer in IIS environment. One of the most hotly requested features for IIS is now available! Read the rest of this entry »
Time of Occurrence : 10.26pm on 19 May 2008.
Coordinates : 1.7 North 99.1 East
Location : Northern Sumatera, 173km Northeast of Nias,Indonesia. 300km Southwest of Kelang.
Magnitude : 6.1 on Richter scale
Source: Malaysian Meteorological Department Ref:JMM.APL15/442/19 Jld (17e)/ (81)
This tutorial show your how to retrieve WEP Key using WiFiSlax and Intel Centrino Chipset. Read the rest of this entry »
Open functions.php from the template file and add this function:
function show_month_posts($where) { global $wpdb; $how_long = 60; //60 days //if( !is_single() && !is_page() ) if( is_home() ) $where .= " AND $wpdb->posts.post_date >= ADDDATE(CURRENT_DATE(), -$how_long)"; return $where; } if (is_home ) add_filter('posts_where', 'show_month_posts');
Simple way to reset your WordPress password through phpMyAdmin.
Step 1:
Create PHP file on your WordPress root and rename to password.php and put this code:
<?php
require('./wp-blog-header.php');
echo wp_hash_password(’yourpasswordhere’); //
?>
Execute and copy the text appear.
Step 2:
Open IE or Firefox browser, go to your phpMyAdmin (Note: use phpMyAdmin at your own risk.)
password.phpGo to your Wordpress Login page (something like http://yoursite.com/wordpress/wp-login.php) and type yourpasswordhere
Xtnd.us offers extensions and reviews for web designers and developers that enhance the workflow of anyone from beginners to professional, anyway who uses Adobe products like, Flash, Dreamweaver, Fireworks, Flex, Apple’s iLife and iWork, and even software like Eclipse.
List of Dreamweaver extension:
If you’re interested in Mochikit, MooTools and YUI API for Dreamweaver, he’s taking requests.
UPDATED: This trick not work with paging. Go to another trick
Want to limit the number of posts on your front page by a date range? For example, display most recent posts for the last 30 days? This works perfectly..
Open index.php template file. Changed this code from:
<?php while (have_posts()) : the_post(); ?>
to:
<?php while (have_posts()) : the_post(); ?>
<?php
$mylimit=30*(60*60*24);
if ( (current_time(timestamp) - get_the_time('U') - (get_settings('gmt_offset') * 3600) ) < $mylimit)
{
?>
and this code from:
<?php endwhile; ?>
to:
<?php } ?>
<?php endwhile; ?>
Everything change on my blog.. I didn’t really have time at all tonight, but I decided to have a go at it anyway. Thanks to Elena Gafita for great theme, which only needed some minor modding for widgets and style.
Again, thank you WordPress. Thank you to the people that visit here frequently, or used to.
Hariadi.org is the personal site of Hariadi Hinta, a web coder, and photographer living in Putrajaya, Malaysia. Check out the archives, find out more about me or even get in touch..