Changes double line-breaks in the text into HTML paragraphs
-
Sugestion:
Add to faq-query.php loop for changes line-breaks into HTML.
Code like this:
*/
public function query($query_vars)
{
$query_vars = $this->pre_query_processor($query_vars);
$wp_query_args = $this->get_wp_query_args($query_vars);$results = get_posts($wp_query_args);
foreach ($results as $post) {
$post->post_content = wpautop( $post->post_content);
}return $results;
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Changes double line-breaks in the text into HTML paragraphs’ is closed to new replies.