Tagged: plugin, post content
Hello,
we have a plugin that retrieves and displays post content.
With enfold it also displays the codes.
How to recover only the text?
thank you in advance
Hey leplusweb,
Have you tried disabling all active plugins to see if the issue resolves? Unfortunately compatibility with all plugins can’t be guaranteed.
Best regards,
Jordan Shannon
Hey,
hum i explain myself. I’m a programmer and I try to display post content on my own plugin.
I just want to display the text and not all the codeblock.
There is a function or a filter to do that ?
Thx
Hi leplusweb,
If the post is built with the Advanced Layout Builder, you’ll always get the shortcodes + content.
Best regards,
Victoria
Hi,
ok thx. So to be sure there isn’t function like wp_strip_all_tags with Enfold ?
Thx
Hi leplusweb,
Actually, there is. Please have a look here:
https://kriesi.at/support/topic/strip-short-codes-from-products-in-search-results/#post-749134
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
nice many thx !
Best regards
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannone
Hi,
you can close this topic thx.
Best regards,
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon