Query posts only with actual text content (not including shortcode or images)
Here are some notes: There’s a problem with how $args is defined: $args = new WP_Query(array( … ) ); $the_query = new WP_Query( $args ); i.e. there are two WP_Query instances here but $args must be an array. It looks like this part is problematic too: $content = str_word_count( strip_tags( $content ) ); if( ” … Read more