i want to display my excerpt in plaintext. How can i do this?
This is my Snippet where i display the content:
<?php the_content(__( 'Weiterlesen ›','okay')); ?>
How i change the snippet to display the content in plain?
greets,
niklas
i want to display my excerpt in plaintext. How can i do this?
This is my Snippet where i display the content:
<?php the_content(__( 'Weiterlesen ›','okay')); ?>
How i change the snippet to display the content in plain?
greets,
niklas
Comments are closed.
Use
wp_strip_all_tags()
to remove the content ofscript
andstyle
elements too: