Answer the question
In order to leave comments, you need to log in
How to format text output via the_content in wordpress?
When displaying content via the_content , the post content is displayed with the tag . How to remove this tag using WP? WP Version - Version 5.4.1.
<div class="article__content">
<pre class="wp-block-preformatted">Lorem ipsum dolor sit amet, consectetur adipisicing elit. A ea earum eius exercitationem explicabo facere maxime nesciunt numquam perferendis praesentium quam sequi veritatis, voluptate! Aliquam dolorum ea, enim eos eum facere fugit hic illo in, ipsam itaque laboriosam non officiis perspiciatis quos reiciendis sapiente sit ullam ut vero. Ab dolor modi mollitia odit porro quidem reiciendis repellendus tenetur ut vero. Accusamus accusantium aliquid distinctio dolorum, ipsa omnis optio quibusdam ratione! Adipisci aliquid atque consequuntur deleniti dolorum eius ex exercitationem expedita explicabo fuga fugit hic, ipsam iste libero molestias natus nihil odit quas qui quis sapiente similique suscipit tempora ullam ut, velit, voluptates.
</pre>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question