A chronological documentation test project, nothing serious, really!

08 Mar 2008 WordPress pagination test

This is just a test post to test pagination in WordPress. Pagination is unfortunately a function that not all theme creators implement. You can paginate by using the <!–nextpage–> Quicktag.

More information about wordpress pagination can be found in WordPress documentation


Posted by

28 Oct 2007 Updating WordPress using a bash script

If you have shell access to your webserver this script can be used to upgrade your WordPress installation to the latest version quickly. Always remeber to backup your database and installation files before running it!

Do change the bold text to reflect your WordPress Internet address before you run the script.

echo Updating WordPress located in $CURDIR
echo 1. Downloading latest WordPress install file.
wget -q
echo 2.  Unpacking downloaded file.
tar zxf latest.tar.gz
cd wordpress/
echo 3.  Replacing old files with the unpacked ones.
tar cf - . | (cd $CURDIR; tar xf -)
echo 4.  Update the WordPress installation.
wget -q -O - ${SITE}/wp-admin/upgrade.php?step=1> /dev/null
echo 5.  Removing the WordPress file downloaded recently.
rm -f ../latest.tar.gz
echo 6.  WordPress is now upgraded.

Tags: , , ,

Posted by