cmsms content_en only display specific html tags???
Posted: Mon Dec 10, 2018 4:09 pm
I'm not using the wysiwyg editor on my content pages there for my content pages looks like this.
in my search results page I use {page_attr key=content_en} to display the content below the corresponding title.
the problem is that in the search results the {content_en} displays the results like :
Is there a way to let the content_en skip reading the <h2> tags and only read the <p> tags?
Code: Select all
<section class="text-section type2">
<div class="container animation-top">
<h2>{title}</h2>
<p>some content text ...</p>
</div>
</section>
the problem is that in the search results the {content_en} displays the results like :
Obviously I dont wan't to display the {title} tag, I just need to be able to display what is inside the <p> tags.page title
{title} some content text ...
Is there a way to let the content_en skip reading the <h2> tags and only read the <p> tags?