




















<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Make a Search Results Filter in WordPress	</title>
	<atom:link href="https://www.inspirationalpixels.com/search-results-filter-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.inspirationalpixels.com/search-results-filter-wordpress/</link>
	<description>Web design tutorials, snippets and freebies</description>
	<lastBuildDate>Wed, 17 Jan 2024 18:14:05 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: X		</title>
		<link>https://www.inspirationalpixels.com/search-results-filter-wordpress/#comment-48673</link>

		<dc:creator><![CDATA[X]]></dc:creator>
		<pubDate>Wed, 14 Dec 2022 06:48:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4534#comment-48673</guid>

					<description><![CDATA[I copy any paste your code exactly, but it&#039;s apparently not able to get the search query so instead it just appends the php code itself to the URL and no search results show of course.]]></description>
			<content:encoded><![CDATA[<p>I copy any paste your code exactly, but it&#8217;s apparently not able to get the search query so instead it just appends the php code itself to the URL and no search results show of course.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tibow		</title>
		<link>https://www.inspirationalpixels.com/search-results-filter-wordpress/#comment-38386</link>

		<dc:creator><![CDATA[Tibow]]></dc:creator>
		<pubDate>Mon, 20 Dec 2021 17:54:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4534#comment-38386</guid>

					<description><![CDATA[Perfect tutorial thank you !]]></description>
			<content:encoded><![CDATA[<p>Perfect tutorial thank you !</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brandon		</title>
		<link>https://www.inspirationalpixels.com/search-results-filter-wordpress/#comment-18498</link>

		<dc:creator><![CDATA[Brandon]]></dc:creator>
		<pubDate>Tue, 10 Dec 2019 16:11:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4534#comment-18498</guid>

					<description><![CDATA[First off--really helpful. Exactly what I wanted for the most part. Thank you.

However, I&#039;m trying to apply this to a number of different post type taxonomies. I have Posts, Pages, and Resources (Case studies, videos, webinars, &#038; white papers). All of the filtering I have working fine with just appending to the URL query like: 
&#038;post_type=resource&#038;resource_type=case-studies&quot;

But when it comes to dynamically setting the current status, that&#039;s where I&#039;m not sure how to make this more granular. If I set all post_type to resource, then it shows all as active. How can I modify this so that I can use the current class more specifically?

Thanks again!]]></description>
			<content:encoded><![CDATA[<p>First off&#8211;really helpful. Exactly what I wanted for the most part. Thank you.</p>
<p>However, I&#8217;m trying to apply this to a number of different post type taxonomies. I have Posts, Pages, and Resources (Case studies, videos, webinars, &amp; white papers). All of the filtering I have working fine with just appending to the URL query like:<br />
&amp;post_type=resource&amp;resource_type=case-studies&#8221;</p>
<p>But when it comes to dynamically setting the current status, that&#8217;s where I&#8217;m not sure how to make this more granular. If I set all post_type to resource, then it shows all as active. How can I modify this so that I can use the current class more specifically?</p>
<p>Thanks again!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kristien Harris		</title>
		<link>https://www.inspirationalpixels.com/search-results-filter-wordpress/#comment-6839</link>

		<dc:creator><![CDATA[Kristien Harris]]></dc:creator>
		<pubDate>Fri, 12 Jul 2019 11:11:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.inspirationalpixels.com/?p=4534#comment-6839</guid>

					<description><![CDATA[Hey Seb this was great and thanks. I have one question. What if you want the link to bring back two post types including a custom post type? for example. www.asite.com/?Sfilter&#038;post_type=page&#038;post_type=myposttype. Is that possible with this method? Trying to work it out now. Any help would be appreciated =)]]></description>
			<content:encoded><![CDATA[<p>Hey Seb this was great and thanks. I have one question. What if you want the link to bring back two post types including a custom post type? for example. <a href="http://www.asite.com/?Sfilter&#038;post_type=page&#038;post_type=myposttype" rel="nofollow ugc">http://www.asite.com/?Sfilter&#038;post_type=page&#038;post_type=myposttype</a>. Is that possible with this method? Trying to work it out now. Any help would be appreciated =)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
