$customloop = 0; $customloop2 = 0; $customtemp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('paged='.$paged); if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post(); $customloop++; $customloop2++; if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

Posted by on
ID; $the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id"); $pattern = '!

<?php the_title(); ?> 0) { $customtext = substr($customtext , 0, 330); } echo ''.$customtext.'...'; ?>
read more

hrbg