Forum
Strip p tags from perch_blog_post_field function
Hey guys,
I'm using the perch_blog_post_field function to provide a description in the head of my blog post page.
Can I strip the p tags from the output without editing my post.html template?
<?php perch_blog_post_field(perch_get('s'), 'postDescHTML'); ?>
Elliot
Thanks Drew, I wasn't completely sure how to use strip_tags, much appreciated.