post preview/thumbnails not displaying correctly- linking to “home” instead of post?

It sounds like you need a second loop on your home page to call the 3 most recent posts. Try something like this: // Main home page content here <?php $my_query = new WP_Query( array( ‘posts_per_page’ => 3, ‘nopaging’ => true ) ); while ( $my_query->have_posts() ) : ( $my_query->the_post() ); ?> <div id=”preview”> <div … Read more

404 when Previewing an unsaved draft

Open the wp-config file and replace the line that reads define(‘WP_DEBUG’, false); with: if ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘1’ ) { define(‘WP_DEBUG’, true); } elseif ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘2’ ) { define(‘WP_DEBUG’, true); define(‘WP_DEBUG_DISPLAY’, true); } elseif ( isset($_GET[‘debug’]) && $_GET[‘debug’] == ‘3’ ) { define(‘WP_DEBUG’, true); define(‘WP_DEBUG_LOG’, true); } After adding … Read more

Trim Post Content on Home Page

On your theme folder, open the index.php (or, home.php, or, front-page.php), and find, if there is a function named: the_content() Just change it to: the_excerpt() P.S.: If you can’t find the_content() in the mentioned file, try searching content.php, and in this case, change it with caution. Because in theme TwentyTwelve, it’s used with conditional tags … Read more