I want to share local developement and staging DB — Is this very smart or very stupid?

WordPress, and many of its plugins, store configuration data in the database. That alone could cause issues for the setup you described, but the urls of every link will also be stored fully canonicalized. So, unless you plan to test your staging setup from “http://localhost“, you will have serious issues trying to click around multiple … Read more

How to add testimonials with an image?

Make a new category called Testimonials then, in your theme folder add a new file called testimonials.php. Add this in the newly created file: <div id=”testimonials”> <?php $args = array(‘caller_get_posts’ => 1, ‘post_type’ => ‘testimonials’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => 5); query_posts($args); if (have_posts()) : while (have_posts()) : the_post(); $image = get_post_meta($post->ID, ‘testimonial-image’, true); ?> … Read more