Use Custom Database with Custom Post Type

What I understand is you want to update records/table to another database from wordpress…. well you can achieve this in wordpress 3.1> using $newwpdb = new wpdb(“mysqluser”,”mysqlpassword”,”mysqldbname”,”mysqlhost”); Then using $newwpdb you can access table from new database and perform all operation on it like edit/delete update/insert… same as $wpdb do wordpress…. Hope that helps or … Read more

How to build a movie database with wordpress?

I’d point you to the much-cited Justin Tadlock “Using custom taxonomies to create a movie database” as a good place to start. His example is Popcritic. The saving favorites would probably require a different plugin, but such is the nature of WordPress.

Is deleting orphaned wp_options entries safe?

I have a wordpress site with some serious wp_options table bloating. This is causing slow page loads and memory bloat. After investigation, there appears to be thousands of orphaned entries. If you know for a fact these options are for plugins that are no longer in use, then yes it’s safe to delete them. If … Read more

wp_options is GB in size

After executing these: [root@shop ~]# mysqlcheck -p -c wordpress hihgv_options wordpress.hihgv_options OK [root@shop ~]# mysqlcheck -p -o wordpress hihgv_options wordpress.hihgv_options note : Table does not support optimize, doing recreate + analyze instead status : OK [root@shop ~]# mysqlcheck -p -a wordpress hihgv_options wordpress.hihgv_options OK Size is down to 1.6MB, not sure if it was optimize … Read more