How to export 2 week’s worth of posts

The native import/export tool can do most of this, though I don’t think it will grab all the author profile information (not sure on that – I know it doesn’t bring over passwords, but it might bring the rest). In the WP admin panel go to Tools > Export and walk through the various option … Read more

Getting WordPress to work inside a rails 3 application

I had a similar problem, but handled the VirtualHost configuration in a different way: Used an Apache mod_alias to redirect what for you is /home/blog/ to a path outside of /var/www/railsapp/public/ (e.g., /var/www/wordpress) Then, for that new hosted directory I had to declare PassengerEnabled off to avoid getting the standard rails error message. I’ve wrote … Read more

Need help fixing sql syntax error after WP 3.2 upgrade

I ran into this as well… I am using the SQL query, but not the wpfp_list_most_favorited() function, so this may or may not work for you, but worth a shot. Try updating the SQL query in wp-favorite-posts.php (around line 206) from: $query = “SELECT post_id, meta_value, post_status FROM $wpdb->postmeta”; To: $query = “SELECT post_id, meta_value, … Read more

Displaying table data on a page

Had you looked into plugins tagged “table” in official repository? As for coding it by hand it should not be too complex, use $wpdb to query database and loop/output results with HTML table markup.

What is wrong here? Issue with post_id and meta_value

You’re close, but not quite. Try it like this: function jb_applicant() { $custom_fields = get_post_custom(2171); $op = ”; foreach ( $custom_fields as $key => $value ) { $op .= $key . ” => ” . $value . “<br />”; } return $op; } add_shortcode(‘applicant’, ‘jb_applicant’);