get_the_content with <p>
-
I’m trying to get the post content, using
get_the_content()
to make a plugin that translates my blog posts from Spanish to EnglishThe problem is when I use in loop
$post = get_the_content()
It retrieves only text without<p> </p>
between blocks of texts, so google translate returns a bunch of words without html formatted.How I can get the post content ( formatted, purified or processed, I don’t know how to say ) with paragraphs?
Thanks in advance.
sorry my bad english.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_the_content with <p>’ is closed to new replies.