I'm searching for a solution for this for 2 days already, but none of the answers helped me out until now.
I have a WP_Query for a custom Wordpress loop and I want to show only posts with 100 characters or less (not words) in the the_content.
<?php $movies = new WP_Query(
array(
'showposts' => 4,
)
);
if($movies->have_posts()) : while($movies->have_posts()) : $movies->the_post(); ?>
<h2><?php the_title(); ?></h2>
<div id="content"><?php the_content(); ?></div>
<?php endwhile; endif; ?>
Is there any core solution that I can use as an array or I need to figure out another way to do this?
How can I get those results?
Thank you guys, you're amazing.