<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Answers sorting in Q&amp;A layout - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 14 Jun 2026 03:30:43 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Answers sorting in Q&amp;A layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56396</link>
                        <pubDate>Tue, 27 Jul 2021 14:46:53 +0000</pubDate>
                        <description><![CDATA[Thank you very much. It worked.]]></description>
                        <content:encoded><![CDATA[<p>Thank you very much. It worked.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>selsebil</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56396</guid>
                    </item>
				                    <item>
                        <title>RE: Answers sorting in Q&amp;A layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56367</link>
                        <pubDate>Tue, 27 Jul 2021 07:01:37 +0000</pubDate>
                        <description><![CDATA[@selsebil,
You can put this hook code in the functions.php file of your current active WordPress theme or use Code Snippets plugin to insert this code. Delete all caches, then delete wpForo...]]></description>
                        <content:encoded><![CDATA[<p>@selsebil,</p>
<p>You can put this hook code in the <span style="color: #ff0000">functions.php</span> file of your current active WordPress theme or use <a href="https://wordpress.org/plugins/code-snippets/" target="_blank" rel="noopener">Code Snippets</a> plugin to insert this code. Delete all caches, then delete wpForo cache in Dashboard &gt; Forums &gt; Dashboard admin page.</p>
<pre style="color: #000000;font-size: 12.0pt" contenteditable="false"><span style="color: #0000e5;font-style: italic">add_filter</span>(<span style="color: #c64741">'wpforo_post_list_args'</span><span style="color: #000080">, </span><span style="color: #008d00;font-weight: bold">function </span>(<span style="color: #4985c9;font-weight: bold">$args</span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">   </span><span style="color: #008d00;font-weight: bold">if</span>(<span style="color: #000080">!</span><span style="color: #008d00;font-weight: bold">empty</span>(<span style="color: #4985c9;font-weight: bold">$args</span>) <span style="color: #000080">&amp;&amp; !</span><span style="color: #008d00;font-weight: bold">isset</span>(<span style="color: #4985c9;font-weight: bold">$_GET</span><span style="color: #000080"></span>))<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">      </span><span style="color: #4985c9;font-weight: bold">$args</span><span style="color: #000080"> = </span><span style="color: #c64741">'`is_first_post` DESC, `created` ASC, `postid` ASC'</span><span style="color: #313131">;<br /></span><span style="color: #313131">   </span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac">   </span><span style="color: #008d00;font-weight: bold">return </span><span style="color: #4985c9;font-weight: bold">$args</span><span style="color: #313131">;<br /></span><span style="color: #5163ac">}</span>)<span style="color: #313131">;<br /></span></pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56367</guid>
                    </item>
				                    <item>
                        <title>Answers sorting in Q&amp;A layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56285</link>
                        <pubDate>Sun, 25 Jul 2021 16:00:18 +0000</pubDate>
                        <description><![CDATA[I am using Q&amp;A layout in my site. This layout ranks the answers according to votes. Namely, if the first answer takes less vote it ranks below. If an answer gets more vots it rises up. B...]]></description>
                        <content:encoded><![CDATA[<p>I am using Q&amp;A layout in my site. This layout ranks the answers according to votes. Namely, if the first answer takes less vote it ranks below. If an answer gets more vots it rises up. But I want them to be ranked from early answer to late answer from top to bottom, like other layouts. Is it possible?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>selsebil</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/ranking-issue-in-qa-layout/#post-56285</guid>
                    </item>
							        </channel>
        </rss>
		