Display News Posts by Day with Post Counter

Clever manipulation of your Loop code should prevent having to make numerous additional requests to the database. Proof of concept: $args = array( ‘post_type’ => ‘post’ ); $qry = new WP_Query($args); if ($qry->have_posts()) { $date = $count = 0; $content=””; while ($qry->have_posts()) { $qry->the_post(); $tdate = mysql2date(‘Y-m-d’,$post->post_date); if ($date != $tdate) { if ($date != … Read more

Removal of Media Gallery pictures

If those images have been inserted in your posts, deleting them from the Media Library will cause blank spaces with a broken image icon to appear in your posts. If you need/want to add alt text or change image file names, etc., better to do so directly in the Media Library than to delete existing … Read more