I am trying to make a description tag with information taken from the body part.
<META NAME="Description" CONTENT="{exp:word_limit_plus if_exceeds="100" stop_after="20"} {exp:html_strip }{body}{/exp:html_strip} {/exp:word_limit_plus}">
The limit plus plugin works fine but in the description I get allot of elements and other strange things.
So I decided to use the html_strip plugin, but I still see the elements.
My question is,
1) can the plugin strip these elements? 2) Am I doing something wrong? 3) Is the plug not working?
Both are third-party plugins, I think, so I might have to move this down to a more appropriate forum, but this seems to work just fine:
{exp:weblog:entries limit="1"}
{exp:word_limit_plus if_exceeds="100" stop_after="20"}
{exp:html_strip}
{body}
{/exp:html_strip}
{/exp:word_limit_plus}
{/exp:weblog:entries}
You do have a weblog:entries tag, of course?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.