<?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>
									Sub Forum Layout - How-to and Troubleshooting				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 05 Mar 2026 10:57:24 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49643</link>
                        <pubDate>Wed, 13 Jan 2021 19:38:46 +0000</pubDate>
                        <description><![CDATA[@martin Thank you! I gave a look at what i was doing wrong and you were right, my mistake was functions.php into wpforo/ directory.]]></description>
                        <content:encoded><![CDATA[@martin Thank you! I gave a look at what i was doing wrong and you were right, my mistake was functions.php into wpforo/ directory.]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>nris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49643</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49635</link>
                        <pubDate>Wed, 13 Jan 2021 19:17:40 +0000</pubDate>
                        <description><![CDATA[Hi @nris,
You&#039;ve done something wrong for sure. This is a syntax error and this is a result of incomplete or inaccurate changes.
In any case you if you don&#039;t want to show sub-forum with pa...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@nris,</span></p>
<p>You've done something wrong for sure. This is a syntax error and this is a result of incomplete or inaccurate changes.</p>
<p>In any case you if you don't want to show sub-forum with parent forums you can <span style="color: #ff0000">disable</span> the  <span style="color: #800080">"Threaded Layout - Display Sub Forums with Parent Forums"</span> option in <span style="color: #3366ff">Dashboard  &gt;Forums &gt; Settings &gt; Forums Tab</span>:</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Martin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49635</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49625</link>
                        <pubDate>Wed, 13 Jan 2021 17:37:22 +0000</pubDate>
                        <description><![CDATA[@robert any update on that? I tried and there was critical error
 
PHP Parse error: syntax error, unexpected &#039;}&#039;, expecting end of file in /var/www/html/omissis.net/wp-content/themes/rehub...]]></description>
                        <content:encoded><![CDATA[<p>@robert any update on that? I tried and there was critical error</p>
<p> </p>
<p>PHP Parse error: syntax error, unexpected '}', expecting end of file in /var/www/html/omissis.net/wp-content/themes/rehub-blankchild/wpforo/functions.php on line 22,</p>
<p> </p>
<p>I need to show subforums at the bottom and topics above or the solution i see here i like it too</p>
<p> </p>
<p>Thank you</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>nris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/paged/2/#post-49625</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40656</link>
                        <pubDate>Wed, 29 Apr 2020 05:44:25 +0000</pubDate>
                        <description><![CDATA[I have followed these steps exactly. After adding /wpforo/ folder to child theme the changes have not been made.
The changes worked originally but it is not update proof, I lost changes on ...]]></description>
                        <content:encoded><![CDATA[<p>I have followed these steps exactly. After adding /wpforo/ folder to child theme the changes have not been made.</p>
<p>The changes worked originally but it is not update proof, I lost changes on last update to plugin</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>jwhit16</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40656</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40356</link>
                        <pubDate>Thu, 23 Apr 2020 03:32:15 +0000</pubDate>
                        <description><![CDATA[@jwhit16,
The /wpforo/ folder should be in the active child theme folder not next to.]]></description>
                        <content:encoded><![CDATA[<p>@jwhit16,</p>
<p>The <span style="color: #3366ff">/wpforo/</span> folder should be <span style="color: #ff0000">in</span> the active child theme folder not <span style="color: #993300">next to</span>.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40356</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40344</link>
                        <pubDate>Wed, 22 Apr 2020 18:12:33 +0000</pubDate>
                        <description><![CDATA[Thanks for your response. I was able to resolve after review. 
 
My only concern is whether I created the update safe copy correctly. I copied the forom.php part of the plugin and I have u...]]></description>
                        <content:encoded><![CDATA[<p>Thanks for your response. I was able to resolve after review. </p>
<p> </p>
<p>My only concern is whether I created the update safe copy correctly. I copied the forom.php part of the plugin and I have used File Manager in my hosting to create a WP Foro folder and save it under wp-content &gt; themes. </p>
<p> </p>
<p>It is next to the folder I used for my child theme.</p>
<p> </p>
<p>Is there a tutorial for this to check if I have saved correctly?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>jwhit16</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40344</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40310</link>
                        <pubDate>Wed, 22 Apr 2020 09:05:18 +0000</pubDate>
                        <description><![CDATA[@jwhit16,
What do you mean saying &quot;on entire community? It should not be displayed on the home page.
The sub forums should only be displayed in the parent forum page. For example, when you...]]></description>
                        <content:encoded><![CDATA[<p>@jwhit16,</p>
<p>What do you mean saying "on entire community? It should not be displayed on the home page.</p>
<p>The sub forums should only be displayed in the parent forum page. For example, when you're on the home page, and you click on a parent forum title and go that forum page, instead of the sub-forum list you should see only the drop-down as I showed it on the screenshot.</p>
<p>Please let me know whet template file have you used to insert the function? You should use the forum.php file directly in the <span style="color: #0000ff">/wpforo/wpf-themes/classic/</span> directory.</p>
<p>Can I see a screenshot of your change and copied file?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40310</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40309</link>
                        <pubDate>Wed, 22 Apr 2020 06:01:56 +0000</pubDate>
                        <description><![CDATA[When I made these updates, subforums display in view of entire community. When I click on main forum in which I have sub forums, the sub forums disappear completely. 
It&#039;s actually not a ba...]]></description>
                        <content:encoded><![CDATA[<p>When I made these updates, subforums display in view of entire community. When I click on main forum in which I have sub forums, the sub forums disappear completely. </p>
<p>It's actually not a bad layout for the time being, but I would be curious to see the drop-down. I have cleared cache through WP Rocket</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>jwhit16</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40309</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40306</link>
                        <pubDate>Wed, 22 Apr 2020 04:06:52 +0000</pubDate>
                        <description><![CDATA[@robert Thanks so much for the help I&#039;ll give this a try!]]></description>
                        <content:encoded><![CDATA[@robert Thanks so much for the help I'll give this a try!]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>jwhit16</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40306</guid>
                    </item>
				                    <item>
                        <title>RE: Sub Forum Layout</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40248</link>
                        <pubDate>Mon, 20 Apr 2020 20:57:41 +0000</pubDate>
                        <description><![CDATA[Posted by: @jwhit16 
1) Show main forum content before sub-forums.
2) Enable a sub-forum drop down menu.
3) Enable sub-forum pagination.

Thank you for the suggestions @jwhit16,
We&#039;ve ...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="15380" data-postid="40184" data-mention="jwhit16">
<div class="wpforo-post-quote-author"><strong> Posted by: @jwhit16 </strong></div>
<p>1) Show main forum content before sub-forums.</p>
<p>2) Enable a sub-forum drop down menu.</p>
<p>3) Enable sub-forum pagination.</p>
</blockquote>
<p>Thank you for the suggestions @jwhit16,</p>
<p>We've added this in our to-do list. Currently, let's try to create the <strong>#2</strong> using a simple custom code. But it'll look like this and it'll jump to selected sub-forum once you choose it:</p>
<p> </p>
<p>https://wpforo.com/wp-content/uploads/2020/04/2020-04-21_0034.png</p>
<p> </p>
<p><strong>Please follow the instruction below:</strong></p>
<p><span style="font-size: 14pt;color: #ff0000"><strong>1.</strong></span> Put this function in your active WordPress theme <span style="color: #0000ff">functions.php</span> file:</p>
<pre style="color: #000000;font-size: 12.0pt"><span style="color: #008d00;font-weight: bold">function </span><span style="color: #0000e5;font-weight: bold">wpforo_custom_subforum_dropdown</span>()<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">    </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #0000e5;font-style: italic">function_exists</span>(<span style="color: #c64741">'WPF'</span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">       </span><span style="color: #008d00;font-weight: bold">if </span>( <span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">current_object</span><span style="color: #000080"> == </span><span style="color: #c64741">'topic' </span><span style="color: #000080">&amp;&amp; </span><span style="color: #0000e5;font-style: italic">wpfval</span>(<span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">current_object</span><span style="color: #000080">, </span><span style="color: #c64741">'forum'</span><span style="color: #000080">, </span><span style="color: #c64741">'url'</span>)<br />        ) <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: #008d00;font-weight: bold">array</span>( <span style="color: #c64741">"parentid" </span><span style="color: #000080">=&gt; </span><span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">current_object</span><span style="color: #000080">, </span><span style="color: #c64741">"type" </span><span style="color: #000080">=&gt; </span><span style="color: #c64741">'forum' </span>)<span style="color: #313131">;<br /></span><span style="color: #313131">          </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #4985c9;font-weight: bold">$forums </span><span style="color: #000080">= </span><span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">forum</span><span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">get_forums</span>( <span style="color: #4985c9;font-weight: bold">$args </span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">             </span><span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">                </span><span style="color: #376395;font-weight: bold">&lt;</span><span style="color: #5163ac;font-weight: bold">div </span><span style="color: #008d00;font-weight: bold">class</span><span style="color: #7b65c8;font-weight: bold">="wpf-sub-wrap"</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">                    &lt;</span><span style="color: #5163ac;font-weight: bold">select </span><span style="color: #008d00;font-weight: bold">class</span><span style="color: #7b65c8;font-weight: bold">="wpf-sub-forums" </span><span style="color: #008d00;font-weight: bold">onchange</span><span style="color: #7b65c8;font-weight: bold">="</span><span style="color: #660e7a;font-weight: bold;font-style: italic">window</span><span style="color: #5163ac">.</span><span style="color: #660e7a;font-weight: bold">location </span><span style="color: #5163ac">= </span><span style="color: #000080;font-weight: bold">this</span><span style="color: #5163ac">.</span><span style="color: #660e7a;font-weight: bold">options</span><span style="color: #5163ac">.</span><span style="color: #660e7a;font-weight: bold">value</span><span style="color: #7b65c8;font-weight: bold">"</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">                        &lt;</span><span style="color: #5163ac;font-weight: bold">option </span><span style="color: #008d00;font-weight: bold">value</span><span style="color: #7b65c8;font-weight: bold">="</span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #008d00;font-weight: bold">echo </span><span style="color: #0000e5;font-style: italic">esc_url_raw</span>(<span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">current_object</span><span style="color: #000080"></span>) <span style="color: #ff3034;font-weight: bold">?&gt;</span><span style="color: #7b65c8;font-weight: bold">"</span><span style="color: #376395;font-weight: bold">&gt;</span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #0000e5;font-style: italic">wpforo_phrase</span>(<span style="color: #c64741">'Sub-Forums'</span>)<span style="color: #313131">; </span><span style="color: #ff3034;font-weight: bold">?&gt;</span><span style="color: #376395;font-weight: bold">&lt;/</span><span style="color: #5163ac;font-weight: bold">option</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">                   </span><span style="color: #ff3034;font-weight: bold">&lt;?php<br /></span><span style="color: #ff3034;font-weight: bold">                   </span><span style="color: #008d00;font-weight: bold">foreach </span>( <span style="color: #4985c9;font-weight: bold">$forums </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$forum </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">                      </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #0000e5;font-style: italic">WPF</span>()<span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">perm</span><span style="color: #000080">-&gt;</span><span style="color: #0000e5;font-style: italic">forum_can</span>( <span style="color: #c64741">'vf'</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$forum</span><span style="color: #000080"> </span>) ) <span style="color: #5163ac">{<br /></span><span style="color: #5163ac">                         </span><span style="color: #4985c9;font-weight: bold">$forum_url </span><span style="color: #000080">= </span><span style="color: #0000e5;font-style: italic">wpforo_forum</span>( <span style="color: #4985c9;font-weight: bold">$forum</span><span style="color: #000080">, </span><span style="color: #c64741">'url' </span>)<span style="color: #313131">;<br /></span><span style="color: #313131">                         </span><span style="color: #008d00;font-weight: bold">echo </span><span style="color: #c64741">'&lt;option value="' </span><span style="color: #000080">. </span><span style="color: #0000e5;font-style: italic">esc_url_raw</span>( <span style="color: #4985c9;font-weight: bold">$forum_url </span>) <span style="color: #000080">. </span><span style="color: #c64741">'"&gt;' </span><span style="color: #000080">. </span><span style="color: #4985c9;font-weight: bold">$forum</span><span style="color: #000080"> . </span><span style="color: #c64741">'&lt;/option&gt;'</span><span style="color: #313131">;<br /></span><span style="color: #313131">                      </span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac">                   }<br /></span><span style="color: #5163ac">                   </span><span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">                    </span><span style="color: #376395;font-weight: bold">&lt;/</span><span style="color: #5163ac;font-weight: bold">select</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">                &lt;/</span><span style="color: #5163ac;font-weight: bold">div</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">             </span><span style="color: #ff3034;font-weight: bold">&lt;?php<br /></span><span style="color: #ff3034;font-weight: bold">          </span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac">       }<br /></span><span style="color: #5163ac">    }<br /></span><span style="color: #5163ac">}</span></pre>
<p> </p>
<p><span style="font-size: 14pt;color: #ff0000"><strong>2.</strong> </span>Put this CSS code in <span style="color: #3366ff">Dashboard &gt; Forums &gt; Settings &gt; Styles Tab &gt; Custom CSS Code</span> textarea. Save it, delete all caches and reset optimizer / minifier plugins cache if you have any:</p>
<pre style="color: #000000;font-size: 12.0pt"><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic </span><span style="color: #ff68c3;font-weight: bold"></span>.<span style="color: #ff68c3;font-weight: bold">cat-stat-questions</span>,<br /><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic </span><span style="color: #ff68c3;font-weight: bold"></span>.<span style="color: #ff68c3;font-weight: bold">cat-stat-answers</span>,<br /><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic</span><span style="color: #ff68c3;font-weight: bold"> </span>.<span style="color: #ff68c3;font-weight: bold">cat-stat-posts{</span><span style="color: #345ca7">display</span>:<span style="color: #0022ff">none</span>;<span style="color: #ff68c3;font-weight: bold">}<br /></span><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic </span>.<span style="color: #ff68c3;font-weight: bold">wpf-sub-wrap{</span><span style="color: #345ca7">width</span>: <span style="color: #0000ff">100</span><span style="color: #0022ff">%</span>; <span style="color: #345ca7">background</span>: <span style="color: #5163ac">#f5f5f5</span>; <span style="color: #345ca7">padding</span>: <span style="color: #0000ff">10</span><span style="color: #0022ff">px</span>; <span style="color: #ff68c3;font-weight: bold">}<br /></span><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic </span>.<span style="color: #ff68c3;font-weight: bold">wpf-sub-forums{</span><span style="color: #345ca7">width</span>: <span style="color: #0000ff">90</span><span style="color: #0022ff">%</span>; <span style="color: #345ca7">margin</span>:<span style="color: #0000ff">0 </span><span style="color: #0022ff">auto </span><span style="color: #0000ff">0</span><span style="color: #0022ff">px auto</span><span style="color: #ff191c">!important</span>; <span style="color: #345ca7">display</span>:<span style="color: #0022ff">block</span>;<span style="color: #ff68c3;font-weight: bold">}<br /></span><span style="color: #ff68c3;font-weight: bold">#wpforo #wpforo-wrap</span>.<span style="color: #ff68c3;font-weight: bold">wpft-topic</span><span style="color: #ff68c3;font-weight: bold"> </span>.<span style="color: #ff68c3;font-weight: bold">forum-wrap {</span><span style="color: #345ca7">border-top</span>: <span style="color: #5163ac">#cccccc </span><span style="color: #0000ff">1</span><span style="color: #0022ff">px solid</span>;<span style="color: #345ca7">display</span>: <span style="color: #0022ff">none</span>;<span style="color: #ff68c3;font-weight: bold">}</span></pre>
<p> </p>
<p><span style="font-size: 14pt;color: #ff0000"><strong>3.</strong> </span> Create an <a href="https://wpforo.com/docs/root/forum-themes/theme-customization/" target="true">update-safe copy</a> of wpForo Q&amp;A layout forums.php file,</p>
<p><span style="color: #ff0000"><strong>3.1</strong></span> Create <span style="color: #ff0000">/wpforo/</span> folder in WordPress active theme directory,</p>
<p><span style="color: #ff0000"><strong>3.2</strong></span> Copy <span style="color: #800080">/wp-content/plugins/wpforo/wpf-themes/classic/</span><span style="color: #ff0000">forum.php</span> file to the <span style="color: #ff0000">/wpforo/</span> folder,</p>
<p><span style="color: #ff0000"><strong>3.3</strong></span> Edit the copied <span style="color: #ff0000">/wpforo/forum.php </span>file, find this part of code:</p>
<pre style="color: #000000;font-size: 12.0pt"><span style="color: #008d00;font-weight: bold">else </span><span style="color: #000080">: </span><span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">   </span><span style="color: #376395;font-weight: bold">&lt;</span><span style="color: #5163ac;font-weight: bold">p </span><span style="color: #008d00;font-weight: bold">class</span><span style="color: #7b65c8;font-weight: bold">="wpf-p-error"</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">      </span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #0000e5;font-style: italic">wpforo_phrase</span>(<span style="color: #c64741">'No forums were found here.'</span>) <span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">   </span><span style="color: #376395;font-weight: bold">&lt;/</span><span style="color: #5163ac;font-weight: bold">p</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #008d00;font-weight: bold">endif</span><span style="color: #313131">;</span></pre>
<p> </p>
<p><span style="color: #ff0000"><strong>3.4.</strong></span> Add the new custom <span style="color: #993300">wpforo_custom_subforum_dropdown()</span> function before that code. It should look like this:</p>
<pre style="color: #000000;font-size: 12.0pt"><span style="color: #993300"><strong><span style="font-style: italic">wpforo_custom_subforum_dropdown</span>()</strong></span><span style="color: #313131"><span style="color: #993300"><strong>;</strong></span><br /></span><span style="color: #008d00;font-weight: bold">else </span><span style="color: #000080">: </span><span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">   </span><span style="color: #376395;font-weight: bold">&lt;</span><span style="color: #5163ac;font-weight: bold">p </span><span style="color: #008d00;font-weight: bold">class</span><span style="color: #7b65c8;font-weight: bold">="wpf-p-error"</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #376395;font-weight: bold">      </span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #0000e5;font-style: italic">wpforo_phrase</span>(<span style="color: #c64741">'No forums were found here.'</span>) <span style="color: #ff3034;font-weight: bold">?&gt;<br /></span><span style="color: #ff3034;font-weight: bold">   </span><span style="color: #376395;font-weight: bold">&lt;/</span><span style="color: #5163ac;font-weight: bold">p</span><span style="color: #376395;font-weight: bold">&gt;<br /></span><span style="color: #ff3034;font-weight: bold">&lt;?php </span><span style="color: #008d00;font-weight: bold">endif</span><span style="color: #313131">;</span></pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/sub-forum-layout/#post-40248</guid>
                    </item>
							        </channel>
        </rss>
		