Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="content_wrapper">
- <div class="one_fourth home_left">
- <ul class="sidebar_widget">
- <?php dynamic_sidebar('Home Left Sidebar'); ?>
- </ul>
- </div>
- <div class="one_half home">
- <div id="featured_posts" class="rubrica_ev">
- <?php
- $the_query = new WP_Query( 'posts_per_page=1&tag=rubrica-in-evidenza' );
- while ( $the_query->have_posts() ) : $the_query->the_post();
- ?>
- <?php
- $category = get_the_category();
- echo $category[0]->cat_name;
- ?>
- <a href="<?php echo get_category_link($category[0]->cat_ID); ?>" title="<?php echo $category[0]->cat_name; ?>">Leggi tutti</a>
- <h3>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
- <?php the_title(); ?>
- </a>
- </h3>
- <div>
- <?php
- if( get_post_meta(get_the_ID(), 'blog_thumb_image_url', true) ) :
- $image_thumb = get_post_meta(get_the_ID(), 'blog_thumb_image_url', true);
- ?>
- <img src="<?php bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb; ?>&h=300&w=460&zc=1" alt=""/>
- <?php endif; ?>
- <?php
- print_custom_field('videopreview:wrapper'
- , '<iframe width="470" height="269" src="[+content+]" frameborder="0" allowfullscreen></iframe>'
- , '<em></em>');
- ?>
- <br/><br/>
- <?php new_excerpt(300); ?>
- <br/><br/>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><strong>Read Full Article</strong></a>
- <br/><br/><hr/>
- </div>
- <?php endwhile; ?>
- </div><!--.rubrica_ev-->
- <div id="featured_posts" class="videopagina_ev">
- <?php
- $args = array( 'post_type' => 'videopagine', 'posts_per_page' => 1, 'tag'=>videopagina-in-evidenza );
- $loop = new WP_Query( $args );
- while ( $loop->have_posts() ) : $loop->the_post();
- ?>
- <?php
- $category = get_the_category();
- echo $category[0]->cat_name;
- ?>
- <a href="<?php echo get_category_link($category[0]->cat_ID); ?>" title="<?php echo $category[0]->cat_name; ?>">Leggi tutti</a>
- <h3>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
- <?php the_title(); ?>
- </a>
- </h3>
- <div>
- <?php
- if( get_post_meta(get_the_ID(), 'blog_thumb_image_url', true) ) :
- $image_thumb = get_post_meta(get_the_ID(), 'blog_thumb_image_url', true);
- ?>
- <img src="<?php bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb; ?>&h=300&w=460&zc=1" alt=""/>
- <?php endif; ?>
- <?php
- print_custom_field('videopreview:wrapper'
- , '<iframe width="470" height="269" src="[+content+]" frameborder="0" allowfullscreen></iframe>'
- , '<em></em>');
- ?>
- <br/><br/>
- <?php new_excerpt(300); ?>
- <br/><br/>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><strong>Read Full Article</strong></a>
- <br/><br/><hr/>
- </div>
- <?php endwhile; ?>
- </div><!--.videopagina_ev-->
- <br class="clear"/><br/>
- <ul class="sidebar_widget">
- <?php dynamic_sidebar('Home Center Sidebar'); ?>
- </ul>
- </div>
- <div class="one_fourth home last">
- <ul class="sidebar_widget">
- <?php dynamic_sidebar('Home Right Sidebar'); ?>
- </ul>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement