Posts Tagged: Wordpress

Moving a WordPress database to another domain

Posted by & filed under Wordpress.

Here are the SQL queries to update a WordPress database from one domain to another: # define var for old site SET @old_path = ‘http://oldsite.com’ COLLATE utf8mb4_unicode_ci; # set var for new site SET @new_path = ‘http://newsite.com’ COLLATE utf8mb4_unicode_ci; UPDATE wp_options SET option_value = replace( option_value, @old_path, @new_path ) WHERE option_name = ‘home’ OR option_name… Read more »

WordPress XML-RPC publishing

Posted by & filed under Wordpress.

Well I thought I would try XML-RPC publishing in a WordPress blog. The main advantage I see in using RPC vs. email publishing is the use of font–styles. It also works with my SyntaxHighlighter plugin… I’m using the ScribeFire plugin for Firefox to write this blog, but Microsoft Live Writer looks like a good desktop… Read more »

Eclipse code completion

Posted by & filed under Eclipse.

To get code completion to work you need to add the library to your build path. For example… adding WordPress to your build path. To be able to see the add_filter and add_action functions in code completion, you can modify the build path to add the WordPress wp-includes directory. To add the WordPress wp-includes directory… Read more »