query('showposts='.$showposts.'&meta_key='.$metakey); echo '<'.'?xml version="1.0" encoding="UTF-8" ?>'; echo ''; while($WP_Query->have_posts()) : $WP_Query->the_post(); $image = get_post_custom_values($metakey); $image = $image[0]; // $content = apply_filters('the_content', get_the_excerpt(''), true); // $content = preg_replace('/(\.*\<\/script\>)/si', '', $content); // $content = strip_tags($content, '

'); $content = str_replace('[...]', '', get_the_excerpt()); $content .= ''. '
'. __('Read more »', 'constructor'). ''. ''; ?> <?php the_title() ?> ]]> '; ?>