/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php get_header() ?> <div id="container"> <div id="content"> <?php $feature_post = get_posts( 'category_name=feature&numberposts=1' ); ?> <?php foreach( $feature_post as $post ) : setup_postdata( $post ); ?> <div id="featured" style="background:#241C0F url('<?php the_post_image_url('full'); ?>') center center repeat;"> <div class="featured-post"> <p class="featured-content"> </p> <!-- END featured-content -->