<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Displaying the search results page like the portfolio page &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 08:48:33 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-154699</guid>
					<title><![CDATA[Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-154699</link>
					<pubDate>Fri, 28 Nov 2014 20:50:13 +0000</pubDate>
					<dc:creator>danielmoutou</dc:creator>

					<description>
						<![CDATA[
						<p>Hello there!<br />
I&#8217;m using the latest Ethos stack with WordPress 4.0.1 and I have set up a child theme.</p>
<p>I have a portfolio page with the portfolio-items displayed on four columns : <a href="http://wp.mof69.fr/annuaire-des-mof-du-rhone/" rel="nofollow">http://wp.mof69.fr/annuaire-des-mof-du-rhone/</a></p>
<p>I also have a custom sidebar with a few custom taxonomies to search through (the category filtering didn&#8217;t suit my needs).</p>
<p>For now, when I perform a search, I get something like the default blog index page: <a href="http://wp.mof69.fr/bienetrebeaute/esthetique/?post_types=x-portfolio" rel="nofollow">http://wp.mof69.fr/bienetrebeaute/esthetique/?post_types=x-portfolio</a></p>
<p>Is it possible to display a search results page like the portfolio page is set up and displayed (masonry-like, number of columns, number of items)? And additionally, to keep the custom sidebar of the portfolio page in the search results page?</p>
<p>Cheers,<br />
Daniel</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-155011</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-155011</link>
					<pubDate>Sat, 29 Nov 2014 15:59:49 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Search page doesn&#8217;t have page template .It get the blog page style.<br />
You can use CSS below to change the number items per row ,but it won&#8217;t be masonry exactly.<br />
Please add the following CSS code under <strong>Customize -&gt; Custom -&gt; CSS</strong>:</p>
<pre><code>@media (min-width:979px){
.search-results article {
width: 24.95%;
padding: 0 1em 2em !important;
float: left;
}
.search-results .entry-wrap {
width: 100% !important;
padding-left: 0 !important;
}
.search-results .entry-content.excerpt {
display: none;
}
.search-results h2.entry-title {
font-size: 90%;
}
}</code></pre>
<p>Hope it helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-155971</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-155971</link>
					<pubDate>Mon, 01 Dec 2014 17:23:09 +0000</pubDate>
					<dc:creator>danielmoutou</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, X-man (or X-woman)</p>
<p>Thanks a lot for your answer. I tried your code but there were some display issues with my stack (Ethos).<br />
Anyway, I found that if I select Masonry style for the Archives page in Customizer &gt; Blog, my search page for the portfolio items inherits that setting. So I&#8217;m half happy.</p>
<p>But it would be GREAT if there was a way to override the number of items displayed in that search page…</p>
<p>Cheers,<br />
Daniel</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156025</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156025</link>
					<pubDate>Mon, 01 Dec 2014 18:59:27 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Daniel,</p>
<p>Thank you for writing in!</p>
<p>You can change the number of posts/items displayed in the search page by going into <strong>General &gt; Reading</strong> and change the number under <strong>Blog pages show at most</strong> to your desired value (see: <a href="http://prntscr.com/5c64xk" rel="nofollow">http://prntscr.com/5c64xk</a>).</p>
<p>Hope this helps. 🙂</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156085</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156085</link>
					<pubDate>Mon, 01 Dec 2014 20:45:42 +0000</pubDate>
					<dc:creator>danielmoutou</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, X Support!</p>
<p>That&#8217;s precisely the default behavior I&#8217;d like to override: I want the index page to display 5 blog posts while the search page shows 20 results, for example.</p>
<p>Cheers,<br />
Daniel</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156175</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156175</link>
					<pubDate>Mon, 01 Dec 2014 23:19:51 +0000</pubDate>
					<dc:creator>Nabeel A</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Daniel,</p>
<p>Did you change the <strong>Blog pages show at most</strong> to 5? This will display 5 posts per page. </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156392</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156392</link>
					<pubDate>Tue, 02 Dec 2014 09:39:04 +0000</pubDate>
					<dc:creator>danielmoutou</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
Yes, that&#8217;s what I did. But I&#8217;d like the search page to display a different number of items.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156497</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156497</link>
					<pubDate>Tue, 02 Dec 2014 13:15:41 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>can you try adding this code below,</p>
<pre><code>function cmk_custom_mod( $wp_query ) {
	$post_type = $wp_query-&gt;query[&#039;post_type&#039;];
	if ( $post_type == &#039;x-portfolio&#039; &amp;&amp; is_search() ) {
		$wp_query-&gt;set(&#039;posts_per_page&#039;, &#039;25&#039;);
    }
}
add_filter(&#039;pre_get_posts&#039;, &#039;cmk_custom_mod&#039;);</code></pre>
<p>or this one</p>
<pre><code>function cmk_post_result_limits( $limit, $query ) {

	if ( ! is_admin() &amp;&amp; $query-&gt;is_main_query() &amp;&amp; $query-&gt;is_search() ) {
		return &#039;LIMIT 0, 25&#039;;
	}
	return $limit;
}
add_filter( &#039;post_limits&#039;, &#039;cmk_post_result_limits&#039;, 10, 2 );</code></pre>
<p>Hope that helps,<br />
Cheers</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156721</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156721</link>
					<pubDate>Tue, 02 Dec 2014 17:41:36 +0000</pubDate>
					<dc:creator>danielmoutou</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>I&#8217;m sorry, but where do I have add this code exactly? In x-child-ethos/functions.php?</p>
<p>Cheers,<br />
Daniel</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156757</guid>
					<title><![CDATA[Reply To: Displaying the search results page like the portfolio page]]></title>
					<link>https://theme.co/archive/forums/topic/displaying-the-search-results-page-like-the-portfolio-page/#post-156757</link>
					<pubDate>Tue, 02 Dec 2014 18:25:57 +0000</pubDate>
					<dc:creator>Kosher K</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Daniel,</p>
<p>Sorry for not being specific,</p>
<p>and yes, please try adding it on your child theme functions.php</p>
<p>Let me know how it works</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

