<?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>
									Sticky Topics Order - Simple Layout - General Discussions				            </title>
            <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Jul 2026 10:09:40 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40947</link>
                        <pubDate>Mon, 04 May 2020 13:57:43 +0000</pubDate>
                        <description><![CDATA[@t-niron,
You just need to hover in the &quot;RSS&quot; button to see the forum and topic ID&#039;s, see the screenshot below:]]></description>
                        <content:encoded><![CDATA[<p>@t-niron,</p>
<p>You just need to hover in the "<span>RSS" button to see the forum and topic ID's, see the screenshot below: </span></p>
<p><span><img src="https://i.imgur.com/aHnPDWb.png" /></span></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Alvina</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40947</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40944</link>
                        <pubDate>Mon, 04 May 2020 13:37:40 +0000</pubDate>
                        <description><![CDATA[Hello,





 









How do I find topic id and forum id?




 
Thank you]]></description>
                        <content:encoded><![CDATA[<p>Hello,</p>
<div class="tlid-input input">
<div class="source-wrap">
<div class="input-full-height-wrapper tlid-input-full-height-wrapper">
<div class="source-input">
<div class="source-footer-wrap source-or-target-footer">
<div class="character-count tlid-character-count"> </div>
</div>
</div>
</div>
</div>
</div>
<div class="tlid-results-container results-container">
<div class="tlid-result result-dict-wrapper">
<div class="result tlid-copy-target">
<div class="text-wrap tlid-copy-target">
<div class="result-shield-container tlid-copy-target"><span class="tlid-translation translation"><span class="">How do I find topic id and forum id?</span></span></div>
</div>
</div>
</div>
</div>
<div> </div>
<div>Thank you</div>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>DeepLine Digital</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40944</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40579</link>
                        <pubDate>Mon, 27 Apr 2020 10:23:49 +0000</pubDate>
                        <description><![CDATA[Thank you very much for the nice review! We really appreciate it.]]></description>
                        <content:encoded><![CDATA[<p>Thank you very much for the nice review! We really appreciate it.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40579</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40564</link>
                        <pubDate>Mon, 27 Apr 2020 09:04:26 +0000</pubDate>
                        <description><![CDATA[Thank you for the review fastertomaster.]]></description>
                        <content:encoded><![CDATA[<p>Thank you for the review fastertomaster.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40564</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40554</link>
                        <pubDate>Mon, 27 Apr 2020 07:16:18 +0000</pubDate>
                        <description><![CDATA[Works perfectly. Thank you for the awesome continued support.
Review left on the plugin page:
Thank you!]]></description>
                        <content:encoded><![CDATA[<p>Works perfectly. Thank you for the awesome continued support.</p>
<p>Review left on the plugin page:</p>
<p>https://wordpress.org/support/topic/superb-support-77/#new-topic-0</p>
<p>Thank you!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>fastertomaster</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40554</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40444</link>
                        <pubDate>Fri, 24 Apr 2020 11:17:37 +0000</pubDate>
                        <description><![CDATA[Hi @fastertomaster,
For the Simplified forum layout you can use this code in the current active WordPress theme functions.php file. If you have an active WordPress child theme, you should o...]]></description>
                        <content:encoded><![CDATA[<p>Hi @fastertomaster,</p>
<p>For the <a href="https://wpforo.com/docs/root/categories-and-forums/forum-layouts/simplified-layout/" target="true">Simplified forum layout</a> you can use this code in the current active WordPress theme functions.php file. If you have an active WordPress child theme, you should only use the child theme functions.php file. Once you put this code and saved. Go to<span style="color: #3366ff"> Dashboard &gt; Forums &gt; Dashboard</span> and click on the <span style="color: #ff0000"></span> button.</p>
<p> </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_sticky_topic_order</span>( <span style="color: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$wpf_url_parse </span>)<span style="color: #5163ac">{<br /></span><span style="color: #5163ac"><br /></span><span style="color: #5163ac">   </span><span style="color: #4985c9;font-weight: bold">$rules </span><span style="color: #000080">= </span><span style="color: #008d00;font-weight: bold">array</span>()<span style="color: #313131">;<br /></span><span style="color: #313131"><br /></span><span style="color: #313131">   </span><span style="color: #e19312;font-style: italic">//$rules = array( First TopicID, Second TopicID );<br /></span><span style="color: #e19312;font-style: italic">   </span><span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> = </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #000080">19, 6</span>)<span style="color: #313131">;<br /></span><span style="color: #313131">   </span><span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> = </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #000080">26, 63, 68</span>)<span style="color: #313131">;<br /></span><span style="color: #313131"><br /></span><span style="color: #313131">   </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: #000080">&amp;&amp; </span><span style="color: #008d00;font-weight: bold">isset</span>(<span style="color: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080"></span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">      </span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #4985c9;font-weight: bold">$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: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080">, </span><span style="color: #c64741">'topics'</span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">         </span><span style="color: #4985c9;font-weight: bold">$topics </span><span style="color: #000080">= </span><span style="color: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080"></span><span style="color: #313131">;<br /></span><span style="color: #313131">         </span><span style="color: #4985c9;font-weight: bold">$tmp </span><span style="color: #000080">= </span><span style="color: #008d00;font-weight: bold">array</span>()<span style="color: #313131">; </span><span style="color: #4985c9;font-weight: bold">$ordered </span><span style="color: #000080">= </span><span style="color: #008d00;font-weight: bold">array</span>()<span style="color: #313131">;<br /></span><span style="color: #313131">         </span><span style="color: #4985c9;font-weight: bold">$forumid </span><span style="color: #000080">= </span><span style="color: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080"></span><span style="color: #313131">;<br /></span><span style="color: #313131">         </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">$rules </span>) <span style="color: #000080">&amp;&amp; </span><span style="color: #008d00;font-weight: bold">isset</span>( <span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> </span>) )<span style="color: #5163ac">{<br /></span><span style="color: #5163ac">            </span><span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$topics </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$key </span><span style="color: #000080">=&gt; </span><span style="color: #4985c9;font-weight: bold">$topic </span>)<span style="color: #5163ac">{</span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #008d00;font-weight: bold">isset</span>(<span style="color: #4985c9;font-weight: bold">$topic</span><span style="color: #000080"></span>)) <span style="color: #5163ac">{</span><span style="color: #4985c9;font-weight: bold">$tmp</span><span style="color: #000080">[</span><span style="color: #4985c9;font-weight: bold">$topic</span><span style="color: #000080">] = </span><span style="color: #4985c9;font-weight: bold">$topic</span><span style="color: #313131">;</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">$tmp</span>) )<span style="color: #5163ac">{</span><span style="color: #008d00;font-weight: bold">foreach</span>( <span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> </span><span style="color: #008d00;font-weight: bold">as </span><span style="color: #4985c9;font-weight: bold">$topicid </span>)<span style="color: #5163ac">{</span><span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #008d00;font-weight: bold">isset</span>(<span style="color: #4985c9;font-weight: bold">$tmp</span><span style="color: #000080"></span>) ) <span style="color: #5163ac">{</span><span style="color: #4985c9;font-weight: bold">$ordered</span><span style="color: #000080">[] = </span><span style="color: #4985c9;font-weight: bold">$tmp</span><span style="color: #000080"></span><span style="color: #313131">; </span><span style="color: #008d00;font-weight: bold">unset</span>(<span style="color: #4985c9;font-weight: bold">$tmp</span><span style="color: #000080"></span>)<span style="color: #313131">;</span><span style="color: #5163ac">}}}<br /></span><span style="color: #5163ac">            </span><span style="color: #4985c9;font-weight: bold">$topics </span><span style="color: #000080">= </span><span style="color: #0000e5;font-style: italic">array_merge</span>(<span style="color: #4985c9;font-weight: bold">$ordered</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$tmp</span>)<span style="color: #313131">;<br /></span><span style="color: #313131">            </span><span style="color: #4985c9;font-weight: bold">$topics </span><span style="color: #000080">= </span><span style="color: #0000e5;font-style: italic">array_values</span>(<span style="color: #4985c9;font-weight: bold">$topics</span>)<span style="color: #313131">;<br /></span><span style="color: #313131">            </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">$topics</span>)) <span style="color: #4985c9;font-weight: bold">$current_object</span><span style="color: #000080"> = </span><span style="color: #4985c9;font-weight: bold">$topics</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">   }<br /></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">$current_object</span><span style="color: #313131">;<br /></span><span style="color: #5163ac">}<br /></span><span style="color: #0000e5;font-style: italic">add_filter</span>(<span style="color: #c64741">'wpforo_after_init_current_object'</span><span style="color: #000080">, </span><span style="color: #c64741">'wpforo_custom_sticky_topic_order'</span><span style="color: #000080">, 10, 2</span>)<span style="color: #313131">;</span></pre>
<p> </p>
<p>This is the part where you should edit and change <span style="color: #0000ff">forum</span>/<span style="color: #ff0000">topic</span> IDs. For example, you want to set <span style="color: #ff0000">topicid 19</span> first, then <span style="color: #ff0000">topicid 6</span> second in <span style="color: #0000ff">forumid 4</span> you should add/edit the row this way:</p>
<pre><span style="color: #e19312;font-style: italic"><br /></span><span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> = </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #000080">19, 6</span>)<span style="color: #313131">;<br /></span></pre>
<p>If you don't have other forums where you want to add sticky topic ordering rules just remove the second line. I added this to show you can add as much <span style="color: #993300">$rules</span> as you want:</p>
<pre><span style="color: #4985c9;font-weight: bold">$rules</span><span style="color: #000080"> = </span><span style="color: #008d00;font-weight: bold">array</span>(<span style="color: #000080">26, 63, 68</span>)<span style="color: #313131">;</span></pre>
<p><a class="wpforo-auto-embeded-link everlightbox-trigger" href="https://wpforo.com/wp-content/uploads/2018/12/wpForo-custom-function-to-set-sticky-topic-order.png" target="_blank" rel="noopener"><img class="wpforo-auto-embeded-image lazyloaded" src="https://wpforo.com/wp-content/uploads/2018/12/wpForo-custom-function-to-set-sticky-topic-order.png" data-src="https://wpforo.com/wp-content/uploads/2018/12/wpForo-custom-function-to-set-sticky-topic-order.png" /></a></p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40444</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40376</link>
                        <pubDate>Thu, 23 Apr 2020 07:56:35 +0000</pubDate>
                        <description><![CDATA[Thanks @martin - I&#039;d love to do this for an in-forum topic list using the simplified layout.
I&#039;ve already got all my IDs and the previous function installed. Just need the tweak to make it ...]]></description>
                        <content:encoded><![CDATA[<p>Thanks @martin - I'd love to do this for an in-forum topic list using the simplified layout.</p>
<p>I've already got all my IDs and the previous function installed. Just need the tweak to make it work for that view. 🤗</p>
<p>Really appreciate the help!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>fastertomaster</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40376</guid>
                    </item>
				                    <item>
                        <title>RE: Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40375</link>
                        <pubDate>Thu, 23 Apr 2020 07:36:39 +0000</pubDate>
                        <description><![CDATA[Hi @fastertomaster,
There is no a general solution for all places, it depends on the forum layout and the page (home forum list or in forum topic list). Please specify an exact layout and a...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@fastertomaster,</span></p>
<p>There is no a general solution for all places, it depends on the forum layout and the page (home forum list or in forum topic list). Please specify an exact layout and an exact page.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Martin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40375</guid>
                    </item>
				                    <item>
                        <title>Sticky Topics Order - Simple Layout</title>
                        <link>https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40303</link>
                        <pubDate>Tue, 21 Apr 2020 23:19:19 +0000</pubDate>
                        <description><![CDATA[Hi team,
Is there a way to make this work:
For simple (not threaded) forums and sub-forums?
Thanks, A]]></description>
                        <content:encoded><![CDATA[<p>Hi team,</p>
<p>Is there a way to make this work: https://wpforo.com/community/general-discussions/sticky-topics-order-updated-function/</p>
<p>For simple (not threaded) forums and sub-forums?</p>
<p>Thanks, A</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>fastertomaster</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/sticky-topics-order-simple-layout/#post-40303</guid>
                    </item>
							        </channel>
        </rss>
		