<?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>BlueOwlCreative  &#187;  Topic: Portfolio items reorder</title>
		<atom:link href="http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/feed/" rel="self" type="application/rss+xml" />
		<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/feed/</link>
		<description></description>
		<pubDate>Fri, 17 Jul 2026 17:29:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22424</guid>
					<title><![CDATA[Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22424</link>
					<pubDate>Sun, 02 Aug 2015 07:08:13 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						<p>Dear BlueOwl, </p>
<p>I was following this old discussion to change the order of my portfolio items(<a href="http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-order/" rel="nofollow">http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-order/</a>), But for some reason I just couldn&#8217;t make it work. Please point me to right direction.</p>
<p>The original code from the editor, Aqua: Template &#8211; Portfolio Page Page Template (portfolio-three-column.php):</p>
<p>&lt;ul id=&#8221;portfolio_items&#8221; class=&#8221;clearfix&#8221;&gt;<br />
		&lt;?php<br />
			$args = array(<br />
				&#8216;post_type&#8217; =&gt; &#8216;portfolio&#8217;,<br />
				&#8216;posts_per_page&#8217; =&gt; (ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) ? ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) : 9),<br />
				&#8216;paged&#8217; =&gt; $paged<br />
			);</p>
<p>			$gallery = new WP_Query($args);<br />
			while($gallery-&gt;have_posts()): $gallery-&gt;the_post();<br />
				if(has_post_thumbnail()):</p>
<p>				$data_types = &#8221;;<br />
				$item_cats = get_the_terms($post-&gt;ID, &#8216;portfolio_category&#8217;);<br />
				if($item_cats):<br />
				foreach($item_cats as $item_cat) {<br />
					$data_types .= $item_cat-&gt;slug . &#8216; &#8216;;<br />
				}<br />
				endif;</p>
<p>I made the change to:<br />
No.1</p>
<p>&lt;ul id=&#8221;portfolio_items&#8221; class=&#8221;clearfix&#8221;&gt;<br />
		&lt;?php<br />
			$args = array(<br />
				&#8216;post_type&#8217; =&gt; &#8216;portfolio&#8217;,<br />
				&#8216;posts_per_page&#8217; =&gt; (ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) ? ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) : 9),<br />
				&#8216;paged&#8217; =&gt; $paged </p>
<p>			);<br />
           $query = new WP_Query( array ( ‘orderby’ =&gt; ‘title’, ‘order’ =&gt; ‘DESC’ ) )<br />
			$gallery = new WP_Query($args);</p>
<p>It doesn&#8217;t work. The whole page is gone. </p>
<p>No.2</p>
<p>$args = array(<br />
				&#8216;post_type&#8217; =&gt; &#8216;portfolio&#8217;,<br />
				&#8216;posts_per_page&#8217; =&gt; (ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) ? ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) : 9),<br />
				&#8216;paged&#8217; =&gt; $paged<br />
                                ‘orderby’ =&gt; ‘title’<br />
                                ‘order’ =&gt; ‘DESC’<br />
			);<br />
			$gallery = new WP_Query($args);</p>
<p>It doesn&#8217;t work. when i refresh, the whole page is gone.</p>
<p>No.3</p>
<p>$args = array(<br />
				&#8216;post_type&#8217; =&gt; &#8216;portfolio&#8217;,<br />
				&#8216;posts_per_page&#8217; =&gt; (ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) ? ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) : 9),<br />
				&#8216;paged&#8217; =&gt; $paged<br />
                                ‘orderby’ =&gt; ‘title’<br />
                                ‘order’ =&gt; ‘DESC’<br />
			);<br />
                         $query = new WP_Query($args);</p>
<p>			$gallery = new WP_Query($args);</p>
<p>It doesn&#8217;t work also. when i refresh, the whole page is gone.</p>
<p>Please help me with a right code, thank you so much!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22427</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22427</link>
					<pubDate>Tue, 04 Aug 2015 08:53:37 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Let&#8217;s take #3.</p>
<p>Simply add a comma to your items at the end of each line so it knows they are separate items:</p>
<pre><code>$args = array(
‘post_type’ =&gt; ‘portfolio’,
‘posts_per_page’ =&gt; (ot_get_option(‘portfolio_items_per_page’,9) ? ot_get_option(‘portfolio_items_per_page’,9) : 9),
‘paged’ =&gt; $paged,
‘orderby’ =&gt; ‘title’,
‘order’ =&gt; ‘DESC’
);
$gallery = new WP_Query($args);</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22430</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22430</link>
					<pubDate>Tue, 04 Aug 2015 14:29:40 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t know why I copied the exact code from you and it doesn&#8217;t work. there is no change for my page. link below,</p>
<p><a href="http://bectechnologies.net/wordpress/products/" rel="nofollow">http://bectechnologies.net/wordpress/products/</a></p>
<p>Can you take a look at it and tell me why? this is the code I added in the editor:</p>
<p>&lt;ul id=&#8221;portfolio_items&#8221; class=&#8221;clearfix&#8221;&gt;<br />
		&lt;?php<br />
			$args = array(<br />
				&#8216;post_type&#8217; =&gt; &#8216;portfolio&#8217;,<br />
				&#8216;posts_per_page&#8217; =&gt; (ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) ? ot_get_option(&#8216;portfolio_items_per_page&#8217;,9) : 9),<br />
				‘paged’ =&gt; $paged,<br />
                                ‘orderby’ =&gt; ‘title’,<br />
                                ‘order’ =&gt; ‘DESC’<br />
                             );<br />
                                $gallery = new WP_Query($args);</p>
<p>			while($gallery-&gt;have_posts()): $gallery-&gt;the_post();<br />
				if(has_post_thumbnail()):</p>
<p>				$data_types = &#8221;;<br />
				$item_cats = get_the_terms($post-&gt;ID, &#8216;portfolio_category&#8217;);<br />
				if($item_cats):<br />
				foreach($item_cats as $item_cat) {<br />
					$data_types .= $item_cat-&gt;slug . &#8216; &#8216;;<br />
				}<br />
				endif;</p>
<p>Please help~~~~</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22431</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22431</link>
					<pubDate>Tue, 04 Aug 2015 14:33:45 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						<p>it seems no matter what code I change, the oder is no different. It always shows the way it is.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22442</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22442</link>
					<pubDate>Wed, 05 Aug 2015 20:57:58 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Switch &#8216;title&#8217; with something else like &#8216;name&#8217; or &#8216;date&#8217; and the order will change.<br />
Check here:</p>
<p><a href="https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" rel="nofollow">https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22450</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22450</link>
					<pubDate>Thu, 06 Aug 2015 06:16:55 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						<p>I did. I switched to &#8216;name&#8217;, or &#8216;date&#8217;, it doesn&#8217;t work. &#8216;DESC&#8217;OR &#8216;ASC&#8217;, same result.<br />
it seems like no matter what combination I use, there is no change. The order stays the same.</p>
<p>I am really really confused. I didn&#8217;t change anything else about the portfolio, except I made it shows 4 items in a row &#8230;nothing else&#8230;.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22452</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22452</link>
					<pubDate>Thu, 06 Aug 2015 08:32:38 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Strange,</p>
<p>Let me have your credentials so I can check it out (in a private Reply). <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22454</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22454</link>
					<pubDate>Thu, 06 Aug 2015 14:24:28 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22457</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22457</link>
					<pubDate>Fri, 07 Aug 2015 13:42:47 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>You had been using the wrong quotes (copy-pasted from here).<br />
I changed them and it seems to work now, check again. <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22460</guid>
					<title><![CDATA[Reply To: Portfolio items reorder]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/portfolio-items-reorder/#post-22460</link>
					<pubDate>Fri, 07 Aug 2015 14:09:27 +0000</pubDate>
					<dc:creator>jdong</dc:creator>

					<description>
						<![CDATA[
						<p>what did you do BlueOwl?</p>
<p>I can&#8217;t have my website shows up in browser! it&#8217;s not loading? I can&#8217;t even login the back office!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

