S
S
Serufim2016-04-11 05:02:04
HTML
Serufim, 2016-04-11 05:02:04

How to display only text in wordpress post?

There is a post with an attached picture. when outputting The_content(); displays all the content of the post including media files. It is necessary for me that in a cycle only the tex of record would be deduced. How to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zhainar, 2016-04-11
@zhainar

wp-kama.ru/function/wp_strip_all_tags

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question