clean and strip_tags loop options not working as I expect
-
I’m running into an issue and I’m not sure I’m just misunderstanding how the options work or what.
I’ve tried adding the clean=”true” and strip_tags=”true” options to my loop and neither seem to be removing the
<p>
tags from the loop output.Strip_tags did seem to pull out the ‘a’ tags that I manually added but still the automatically generated ‘p’ tags were still there.
https://simplify.bi/wp-content/uploads/2014/03/p-tags.png
code that I’m using:
[loop type="post" count="4" clean="true" taxonomy="post_format" compare="NOT" value="post-format-link"] <h3 style="margin-bottom:0px;"><a href="[content field='url']">[content field="title"]</a></h3> by <a href="[content field='author-url']">[content field="author"]</a> on [content field="date" date_format="F j, Y"] [content more="true" words="50"] [/loop]
https://www.ads-software.com/plugins/custom-content-shortcode/
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘clean and strip_tags loop options not working as I expect’ is closed to new replies.