SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | - | if (is_page('Welcome to Financial Passport')) { |
2 | + | if (is_page('Welcome to F00 Site')) { |
3 | $tmp_query = $wp_query; | |
4 | ||
5 | query_posts('showposts=3&cat=' . get_cat_ID(dp_settings('featured'))); | |
6 | ||
7 | echo '<div id="featured">'; | |
8 | if (have_posts()) : | |
9 | while (have_posts()) : the_post(); | |
10 | echo '<div class="content">' . | |
11 | '<a href="'.the_permalink().'">'.dp_attachment_image($post->ID, 'alt="'.$post->post_title.'"').'</a>'. | |
12 | '<div class="title"><h1><a href="'.the_permalink().'">'.the_title().'</a></h1></div>'. | |
13 | '<p>[<a class="readmore" href="'.the_permalink().'">'.the_title().'</a>]</p>'. | |
14 | '<div class="break"></div>'. | |
15 | '</div>'; | |
16 | endwhile; // end while | |
17 | endif; // end if | |
18 | }; // end if | |
19 | ?> | |
20 |