Revision: 27120
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 23, 2010 17:26 by antlively
Initial Code
<?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"> <small>Feature:</small> <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2> <p class="featured-content"> <?php the_content_rss('', TRUE, '', 20); ?><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark">Read More</a> </p> <!-- END featured-content -->
Initial URL
Initial Description
Initial Title
Neutica featured-post hover-color support
Initial Tags
Initial Language
HTML