<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: How to hide [caption][/caption]  from my search results</title>
		<link>http://www.kriesi.at/support/topic/how-to-hide-captioncaption-from-my-search-results</link>
		<description>Support Forum - Topic: How to hide [caption][/caption]  from my search results</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 02:40:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-hide-captioncaption-from-my-search-results" rel="self" type="application/rss+xml" />

		<item>
			<title>xGSTQ on "How to hide [caption][/caption]  from my search results"</title>
			<link>http://www.kriesi.at/support/topic/how-to-hide-captioncaption-from-my-search-results#post-96042</link>
			<pubDate>Sun, 10 Feb 2013 09:36:32 +0000</pubDate>
			<dc:creator>xGSTQ</dc:creator>
			<guid isPermaLink="false">96042@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Well that was easy !!&#60;/p&#62;
&#60;p&#62;I copied and pasted some suggested code and it worked&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_filter('the_excerpt', 'remove_shortcode_from_excerpt');&#60;/p&#62;
&#60;p&#62;function remove_shortcode_from_excerpt($excerpt) {&#60;br /&#62;
  if ( is_search() ) {&#60;br /&#62;
    $excerpt = strip_shortcodes( $excerpt );&#60;br /&#62;
  }&#60;br /&#62;
  return $excerpt;&#60;br /&#62;
}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Seems to have fixed the search results for me, dont know if its broke anything else yet :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xGSTQ on "How to hide [caption][/caption]  from my search results"</title>
			<link>http://www.kriesi.at/support/topic/how-to-hide-captioncaption-from-my-search-results#post-96041</link>
			<pubDate>Sun, 10 Feb 2013 09:30:52 +0000</pubDate>
			<dc:creator>xGSTQ</dc:creator>
			<guid isPermaLink="false">96041@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Erm&#60;/p&#62;
&#60;p&#62;Im getting caption content in my search results and I was wondering if it was possible to filter it out, I don't actually think this is a theme problem, more of a wordpress problem not sure to be fair&#60;/p&#62;
&#60;p&#62;I was after some advice before I try to fix it and end up  breaking it !! haha&#60;/p&#62;
&#60;p&#62;When I search and its only when products are displayed in the search results I get the product and then the product [caption] [/caption] content so effectively getting 2 results the same, with messy code&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.jamespictures.co.uk/?s=abyss&#34; rel=&#34;nofollow&#34;&#62;http://www.jamespictures.co.uk/?s=abyss&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;is there anyway I can strip the code somehow via functions.php&#60;/p&#62;
&#60;p&#62;I found a few threads via Google people having the same issue&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/support/topic/hide-caption-front-page?replies=6&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/hide-caption-front-page?replies=6&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/support/topic/how-do-you-strip-shortcodes-from-search-pages?replies=4&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/how-do-you-strip-shortcodes-from-search-pages?replies=4&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wpengineer.com/917/filter-caption-shortcode-in-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://wpengineer.com/917/filter-caption-shortcode-in-wordpress/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
