have_posts()): while ($query->have_posts()): $query->the_post(); $random_color = $this->generate_random_color(); // get random color ?>
<?php the_title(); ?>
No posts found.

'; endif; ?>