<?php
	$parallax_settings = get_option( 'parallax_options'); 
	$cat1_id = $parallax_settings['parallax_feat_cat1'];
	$cat1_name = get_cat_name($cat1_id);
	$cat1_url = get_category_link( $cat1_id );
?>

<div id="featured-posts">
	<ul id="featured-posts-list">
      
		<?php $my_query = new WP_Query('showposts=4&category_name='.$cat1_name); while ($my_query->have_posts()) : $my_query->the_post(); ?> 
        	<li>
            		<div class="featured-post-text">
					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if (trim(get_the_title()) != '') { the_title(); } else  _e('No title', 'parallax'); ?></a></h2>
<div class="entry"><?php the_excerpt() ?></div></a>
			</div>
		</li>
		<?php endwhile; ?>

	</ul> 
</div><!-- featured-posts -->
