Tags Sorted By Characters?

You can use wp_get_post_terms to achieve this. The third argument for this function supports an orderby parameter which defaults to name i.e. to sort alphabetically by name $args = array(‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘fields’ => ‘all’); // orderby also supports ‘count’, ‘slug’, ‘term_group’, ‘term_order’, and ‘term_id’ The first 2 arguments of that function … Read more

Best place to store company address

Create an Option Page and name it something like “Adress”. In Google you will find a lot about Option Pages. For this small Settings, i would not recommend to use a option-framework. Some Links: Nettuts or 12 how to’s.

Two Rewrite Rules

Catch those requests before WordPress can see them: RewriteEngine On RewriteBase / RewriteRule ^link/(\d+)$ /links/index.php?link=$1 [L,QSA] Place the WordPress rules below the link rules.

Migrating domain name from old WP host to new (which uses vhosts)

You can set the domain for the WP install in the config-file wp-config.php and so its easy to set an new domain for a install. define(‘WP_SITEURL’, ‘http://www.example.com’); define(‘WP_HOME’, ‘http://www.example.com/blog’); Now use WordPress this domains and the settings in backend was not deciding. But the task after this small change is, that you change the url … Read more