/wp-admin/install.php redirecting to 123-reg

I’m Nerys, I work here at 123-reg. It does indeed sound as if your domain name has not been pointed to your hosting package. Your hosting provider will be able to provide you with the details on the records you need to set up. This will usually be changing the nameservers, or setting an A … Read more

wordpress database restore – broken link

It sounds like you probably need to go into the wp_options table and change the rows ‘site_url’ and the ‘home_url’ to match up with the new location. site_url is on the first page of the wp_options table, and ‘home_url’ is on the second page. If you can access the wp dashboard those can be changed … Read more

pull data from a remote wordpress database

Ok. There are few things wrong here. query_posts isn’t mean to be used that way so don’t. Try the same code with $likes=new WP_Query(array(… instead. $likes=new WP_Query(array( ‘post_type’ => ‘post’, ‘ignore_sticky_posts’ => true, ‘filter_type’ => ‘user_liked’, ‘filter_user’ => $user_id )); That is problem one. Then even if $likes were set correctly you’d clobber it. $likes= … Read more

Specify strict ‘order by’ in WordPress query

You could use usort(). Your callback function would need to determine the last names and sort by them. So, for instance: $args = array( ‘post_type’ = ‘Employees’, ); $employees = get_posts( $args ); usort( $employees, ‘wp91501_sort_employees’ ); and then your callback might be: function wp91501_sort_employees( $a, $b ) { // split the names into arrays … Read more