Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define('WP_USE_THEMES', false);
- require('blog/wp-load.php');
- query_posts('showposts=4');
- ?>
- <?php while (have_posts()): the_post();
- ?>
- <div style="margin-bottom:50px;">
- <div style="display:inline-block; vertical-align:middle;">
- <?php the_post_thumbnail(array(100,100));
- ?>
- </div>
- <div style="display:inline-block; vertical-align:middle;"><h3 style="color:#24A675; text-transform: uppercase;">
- <?php the_title();
- ?></h3>
- <?php the_excerpt();
- ?>
- <button type="button" class="btn btn-info"><a href= <?php the_permalink();
- ?> style="color:white;">Leggi il post...</a></button>
- </div>
- </div>
- <?php endwhile;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement