<?php
global $wp_query;
if ( have_posts() ) {
while( have_posts() ) {
the_post();
echo '<div class="myClass_' . ( $wp_query->current_post + 1 ) . '">' . get_the_content() . '</div>';
}
}
?>
<?php
if ( have_posts() ) {
$i = 0;
while( have_posts() ) {
the_post();
echo '<div class="myClass_' . ( ++$i ) . '">' . get_the_content() . '</div>';
}
}
?>
<?php
if ( have_posts() ) {
while( have_posts() ) {
the_post();
echo '<div class="myClass_' . get_the_id() . '">' . get_the_content() . '</div>';
}
}
?>
<?php
if ( have_posts() ) {
while( have_posts() ) {
the_post();
?>
<div <?php post_class(); ?>>
<?php the_content(); ?>
</div>
<?php
}
}
?>
По обсуждаемой то задаче же - алгоритмические у них будут сложности.
Дешевле в сфере говносайтиков, простейшие интерфейсы способных делать - да, полным-полно "специалистов".
Без дисциплины работать не будет.
Вот это поможет чуть облегчить:
https://justgetflux.com/
если ночами темно, не зашторивай окна