<?php
$args = array('range' => 'all', 'excerpt_length' => 55, 'posts_per_page' => 10);
$custom_query = wpp_get_mostpopular($args);
if ($custom_query->have_posts()):
while ($custom_query->have_posts()):
$custom_query->the_post(); ?>
<article <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(array(215, 130, true)); ?></a>
<h2 class="title-main"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div><?php the_excerpt(); ?></div>
</article>
<?php
endwhile;
?>
<?php if (function_exists('wp_pagenavi')) {
wp_pagenavi();
}
endif ?>
.first-project {position:relative;}
.first-project .project__img {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}
$(window).resize(function () {
$(".parallax-window").parallax({
calibrateX: true,
calibrateY: true
});
}).resize();
<table>
<tr>
<td>Lorem ipsum dolor sit amet consectetur adipisicing elit. Repellat, est.</td>
</tr>
<tr>
<td>Voluptatum odio nulla expedita minima cum? Culpa cum iure laudantium.</td>
</tr>
<tr>
<td>Ullam, aliquid nobis modi consequatur ab eum sapiente maiores obcaecati.</td>
</tr>
<tr>
<td>Ducimus consequatur necessitatibus ipsam nam sapiente nemo odio libero excepturi!</td>
</tr>
<tr>
<td>Earum, in. Quasi, ipsam voluptates quidem nihil sunt debitis sapiente?</td>
</tr>
</table>
table {
width: 100%;
}
table td {
padding: 10px;
}
table tr {
background-color: #f1f1f1;
}
table tr:nth-child(odd) {
background-color: #f6f6f6;
}
table tr:hover {
background-color: #CCC;
}