Horje
the_author_meta is stripping out HTML code - Wordpress Solution
[Solved] - the_author_meta is stripping out HTML code - Wordpress Solution
Try following codes
Is there a way to prevent the_author_meta() from stripping out HTML? I am working on a site for a client that has anywhere from 6-10 authors each with their own profiles and descriptions. The bio's are multiple paragraphs and currently all the text is being dumped into a single paragraph and it is stripping out some href's that I have in there. Is there a way to echo this out without affecting the HTML code?

Solution - 1

Auto-praragraph the content like this:


echo wpautop( $author_bio );


Solution - 2

gteh, have you tried to retrieve user description object with [[LINK href="http://codex.wordpress.org/Function_Reference/get_userdata"]]get_userdata[[/LINK]] instead of using the_author_meta?

Date: 2022-10-21 05:13:40
Category: Wordpress
More for You