<?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>Sorting Posts by &quot;Title&quot; &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/sorting-posts-by-title/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/feed/</link>
		<description></description>
		<lastBuildDate>Wed, 15 Oct 2025 08:06:40 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-50804</guid>
					<title><![CDATA[Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-50804</link>
					<pubDate>Sun, 01 Jun 2014 04:06:20 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

					<description>
						<![CDATA[
						<p>I would like to know if it is possible to sort posts by &#8220;Title&#8221; instead of by date. I understand &#8220;date&#8221; is the WordPress default, however i have used other themes where you can choose how to sort. Am I overlooking this ability somewhere in Customizer? I read the WordPress Codex and it shows you can change this in the &#8220;Category.php&#8221; file, however I can&#8217;t seem to find this file either. Please advise. I am creating a site for a town of approximately 100,000 people and I need to alphabetize the points of interest. I will eventually have over 1000 listings and I certainly do not want to have to change dates to achieve this. Thanks for your help. I have included the codex script as follows.</p>
<p>&lt;?php<br />
get_header();<br />
?&gt;</p>
<p>&lt;div id=&#8221;content&#8221;&gt;</p>
<ul>
&lt;?php<br />
// we add this, to show all posts in our<br />
// Glossary sorted alphabetically<br />
if (is_category(&#8216;Glossary&#8217;))<br />
{<br />
$args = array( &#8216;posts_per_page&#8217; =&gt; -1, &#8216;orderby&#8217;=&gt; &#8216;title&#8217;, &#8216;order&#8217; =&gt; &#8216;ASC&#8217; );<br />
$glossaryposts = get_posts( $args );<br />
}<br />
foreach( $glossaryposts as $post ) :	setup_postdata($post);<br />
 ?&gt;</p>
<li><a>&#8220;&gt;&lt;?php the_title(); ?&gt;</a></li>
<p>&lt;?php endforeach; ?&gt;
</ul>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
I am using Integrity. I love the theme by the way.</p>
<p>Harry</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51070</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51070</link>
					<pubDate>Mon, 02 Jun 2014 03:31:23 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Harry,</p>
<p>Thank you for writing in!</p>
<p>Add this code at your child theme&#8217;s functions.php</p>
<pre><code>add_action(&#039;pre_get_posts&#039;, &#039;category_sort_by_title&#039;);
function category_sort_by_title($query)
{
    if (is_category()) {
        $query-&gt;set(&#039;orderby&#039;, &#039;title&#039;);
        $query-&gt;set(&#039;order&#039;, &#039;ASC&#039;);
    }
}</code></pre>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51579</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51579</link>
					<pubDate>Tue, 03 Jun 2014 04:28:06 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the reply. I will try this tomorrow!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51900</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-51900</link>
					<pubDate>Tue, 03 Jun 2014 20:13:32 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

					<description>
						<![CDATA[
						<p>Unfortunately this script did not work! I placed it in the child theme &#8220;functions.php&#8221; as prescribed to no avail. I can&#8217;t express how important the ability to sort posts by title is for this large of a community&#8217;s site. Visitors will be searching for &#8220;Businesses&#8221;, &#8220;Restaurants&#8221;, &#8220;Shops&#8221;, &#8220;Parks&#8221;, etc. from hundreds of listings in each category. I know I can manipulate entry dates so that it works, however this will be too constraining considering I will be constantly adding, and deleting new listings as they open and close. Please advise. Thanks for your help.</p>
<p>Harry</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52357</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52357</link>
					<pubDate>Wed, 04 Jun 2014 18:06:52 +0000</pubDate>
					<dc:creator>Support</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Harry,</p>
<p>Looks like I will need to get some information from you (don&#8217;t forget to select <strong>Set as private reply</strong> to ensure that your data remains hidden):</p>
<ol>
<li>Your WordPress login credentials.</li>
<li>Your FTP credentials (in case we need to check anything out on your server).</li>
</ol>
<p>Once we have all of this, we&#8217;ll be happy to take a deeper look into things.<br />
Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52536</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52536</link>
					<pubDate>Wed, 04 Jun 2014 23:46:47 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52864</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-52864</link>
					<pubDate>Thu, 05 Jun 2014 14:01:47 +0000</pubDate>
					<dc:creator>Support</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Harry,</p>
<p>I&#8217;ve just checked your site, and it seems the script is working here: <a href="http://www.thewoodlandsquarterly.com/category/attractions/" rel="nofollow">http://www.thewoodlandsquarterly.com/category/attractions/</a></p>
<p>Please advise!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-53081</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-53081</link>
					<pubDate>Thu, 05 Jun 2014 23:24:31 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

					<description>
						<![CDATA[
						<p>That category is sorted just by coincidence of the posts being entered by date. My &#8220;blog page&#8221; is <a href="http://www.thewoodlandsquarterly.com/guide-listings/" rel="nofollow">http://www.thewoodlandsquarterly.com/guide-listings/</a> &#8211; they are not sorted here. I tried changing the page so that it was not masonry, and they are still out of order. </p>
<p>Harry</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-53223</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-53223</link>
					<pubDate>Fri, 06 Jun 2014 10:09:10 +0000</pubDate>
					<dc:creator>Support</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Harry,</p>
<p>We originally thought you only want to sort this while on the category archive page, in which our code will never work. But with just a slight change on our code, this will fix your issue.</p>
<p>Replace the code above with this, this should affect all post listings:</p>
<pre><code>add_action(&#039;pre_get_posts&#039;, &#039;category_sort_by_title&#039;);
function category_sort_by_title($query) {
  $query-&gt;set(&#039;orderby&#039;, &#039;title&#039;);
  $query-&gt;set(&#039;order&#039;, &#039;ASC&#039;);
}</code></pre>
<p>Cheers</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-60211</guid>
					<title><![CDATA[Reply To: Sorting Posts by &quot;Title&quot;]]></title>
					<link>https://theme.co/archive/forums/topic/sorting-posts-by-title/#post-60211</link>
					<pubDate>Tue, 24 Jun 2014 00:34:37 +0000</pubDate>
					<dc:creator>Harry B</dc:creator>

					<description>
						<![CDATA[
						<p>I am sorry to submit a new request via this thread, however the home page of your &#8220;support section&#8221; is currently broken, and I can not find the link for submitting a new request. </p>
<p>I would like to know how to display &#8220;full-content&#8221;, &#8220;excerpts&#8221;, and &#8220;tags&#8221; on the portfolio index pages and archived category pages.</p>
<p>I am building a site for a master-planned community in Texas that has approximately 131 parks with different amenities that I would like to filter using your isotope feature. Since your blog does not offer isotope filtering like your portfolio, I have decided to enter each park as a portfolio item. Each Park &#8211; has a combination of swimming pool, dog area, tennis court, basketball court, disc golf, bmx track, jogging track, climbing boulders, soccer fields, spraygrounds, etc. With this many parks residents would like to know which park offers what amenities. Each of these 131 parks is also located in one of ten different &#8220;villages&#8221; that I plan to use as tags for further sorting. Ideally I would love to have the archived portfolio posts look exactly the same as the archived blog posts (displaying all content and tags below the box) with the ability to filter using the same isotope animation as is offered in your portfolio layouts. If it is easier to offer isotope filtering for the blog that is fine too. </p>
<p>My website is <a href="http://www.thewoodlandsquarterly.com" rel="nofollow">http://www.thewoodlandsquarterly.com</a>  &#8211; The parks page is under &#8220;guide&#8221; &#8211; submenu &#8211; &#8220;parks and recreation&#8221;. I have already set up a child theme and currently have the functions.php and content-portfolio.php copied to it.</p>
<p>Thanks so much for your help.</p>
<p>Harry</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

