<?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>
									Shortcodes for Multi-boards - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 17 Jun 2026 10:31:36 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105849</link>
                        <pubDate>Wed, 01 Nov 2023 18:29:16 +0000</pubDate>
                        <description><![CDATA[@steel-rat wpForo doesn&#039;t cause ANY problems.
If you can&#039;t use it, it is not wpForo fault but of the webmaster.]]></description>
                        <content:encoded><![CDATA[<p>@steel-rat wpForo doesn't cause ANY problems.</p>
<p>If you can't use it, it is not wpForo fault but of the webmaster.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>dimalifragis</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105849</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105847</link>
                        <pubDate>Wed, 01 Nov 2023 14:04:34 +0000</pubDate>
                        <description><![CDATA[Never mind. WPForo simply causes too many problems, even when it&#039;s the only activated plugin. Deleted.]]></description>
                        <content:encoded><![CDATA[<p>Never mind. WPForo simply causes too many problems, even when it's the only activated plugin. Deleted.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Steel Rat</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105847</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105841</link>
                        <pubDate>Wed, 01 Nov 2023 04:50:33 +0000</pubDate>
                        <description><![CDATA[@chris - Any update on adding board IDs to the shortcodes? I&#039;m in the same boat as the OP, though I only have one additional board/forum.]]></description>
                        <content:encoded><![CDATA[@chris - Any update on adding board IDs to the shortcodes? I'm in the same boat as the OP, though I only have one additional board/forum.]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Steel Rat</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-105841</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-85199</link>
                        <pubDate>Mon, 30 Jan 2023 14:53:38 +0000</pubDate>
                        <description><![CDATA[Hi @cloud9,
About the shortcodes part, will try to fix that.
 
If you are using only one language in your Forum, I would recommend to Use Categories instead of board and Use wpForo Cross ...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@cloud9,</span></p>
<p>About the shortcodes part, will try to fix that.</p>
<p> </p>
<p>If you are using only one language in your Forum, I would recommend to Use Categories instead of board and Use wpForo Cross Posting addon to connect your Courses(Posts/Pages) with wpForo Topics.</p>
<p>WpForo Cross Posting addon has auto cross posting functionary. Which cross posts.</p>
<p>https://gvectors.com/product/wpforo-cross-posting/</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-85199</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81948</link>
                        <pubDate>Wed, 25 Jan 2023 03:59:56 +0000</pubDate>
                        <description><![CDATA[The only way I&#039;ve been able to get everything to work when using multiple boards and shortcodes is to modify function wpforo_url() in wpforo/includes/functions.php and call WPF()-&gt;change_...]]></description>
                        <content:encoded><![CDATA[<p>The only way I've been able to get everything to work when using multiple boards and shortcodes is to modify function wpforo_url() in wpforo/includes/functions.php and call <span>WPF()-&gt;change_board(2) there.</span></p>
<p>Is there an action or filter in Wordpress or wpForo that will allow the change in board to be reflected in the call to wpforo_url?</p>
<div> </div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>cloud9</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81948</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81944</link>
                        <pubDate>Wed, 25 Jan 2023 00:29:39 +0000</pubDate>
                        <description><![CDATA[The first part of the solution that seems to work is to progamtically change the board at the top of the wpforo theme&#039;s index page first making sure I&#039;m on a lesson page (becasue the standal...]]></description>
                        <content:encoded><![CDATA[<p>The first part of the solution that seems to work is to progamtically change the board at the top of the wpforo theme's index page first making sure I'm on a lesson page (becasue the standalone pages work ok).</p>
<p>First copy the wpforo/themes/2022/index.php to my child theme at /my-child-theme/wpforo/index.php</p>
<div>
<div>Then insert the followig code after <br />
<div>
<div><span>if</span><span>( ! defined( </span><span>'ABSPATH'</span><span> ) ) </span><span>exit</span><span>;</span></div>
</div>
</div>
<div><span>if</span><span> ( is_singular( </span><span>'lesson'</span><span> ) ) {</span></div>
<div><span>  global</span><span>$post</span><span>;</span></div>
<div><span>  $lesson</span><span> = </span><span>new</span><span> LLMS_Lesson( </span><span>$post</span><span>-&gt;ID );</span></div>
<div><span>  if</span><span> ( PROGRAM_2_COURSE_ID === </span><span>$lesson</span><span>-&gt;get( </span><span>'parent_course'</span><span> ) ) {</span></div>
<div><span>    WPF()-&gt;change_board(PROGRAM_2_BOARD_ID);</span></div>
<div><span>  }</span></div>
<div><span>}</span></div>
</div>
<div>Please note however that this does not update all elements on the page. For example the permalinks are correct but the page title is not.</div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>cloud9</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81944</guid>
                    </item>
				                    <item>
                        <title>RE: Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81902</link>
                        <pubDate>Tue, 24 Jan 2023 00:05:57 +0000</pubDate>
                        <description><![CDATA[I tried this in functions.php:

function set_wpForo_board() {
  if ( !is_admin() ) { 
    // Only target the front end
    WPF()-&gt;change_board(2);
  }
}
add_action( &#039;the_post&#039;, &#039;s...]]></description>
                        <content:encoded><![CDATA[<p>I tried this in functions.php:</p>
<div>
<div><span>function</span><span> set_wpForo_board() {</span></div>
<div><span>  if</span><span> ( !is_admin() ) { </span></div>
<div><span>    // Only target the front end</span></div>
<div><span>    WPF()-&gt;change_board(</span><span>2</span><span>);</span></div>
<div><span>  }</span></div>
<div><span>}</span></div>
<div><span>add_action( </span><span><span>'</span></span>the_post<span>'</span><span>, </span><span>'set_wpForo_board'</span><span>);</span></div>
<div> </div>
</div>
<div>The board ID changes but has no effect on the shortcode.</div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>cloud9</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81902</guid>
                    </item>
				                    <item>
                        <title>Shortcodes for Multi-boards</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81901</link>
                        <pubDate>Mon, 23 Jan 2023 22:19:56 +0000</pubDate>
                        <description><![CDATA[Use Case
I&#039;m using LifertLMS to deliver training material for multiple courses, wpForo to facilitate discussion &amp; Ultimate Member to show/hide blocks/content/pages. I have created separ...]]></description>
                        <content:encoded><![CDATA[<p><strong>Use Case</strong></p>
<p>I'm using LifertLMS to deliver training material for multiple courses, wpForo to facilitate discussion &amp; Ultimate Member to show/hide blocks/content/pages. I have created separate boards for each course. The structure of each board is exacly the same including the IDs of each category and forum. For example the FAQ topic has the ID = 3 in each board. Each forum maps to a single lesson topic.</p>
<p>On each lesson page I want to include only the forum that is relevant to that lesson based on the course being viewed. So I use the shortcode system e.g.</p>
<p></p>
<p>If the user is on a page that is part of course 1 then I want the FAQ topic from board 1 to show. If the user is on a page from course 2 then I want the FAQ topic from board 2 to show.</p>
<p><strong>Problem</strong></p>
<p>According to the documentation, the shortcode doesn't have an option to specify the board so the forum with ID = 3 is always from the first board.</p>
<p><strong>Question</strong></p>
<p>How do I specify which board to source the requested forum from? If there is no current way to do this I'm happy to make a copy of the plugin and make temporary changes where indicated.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>cloud9</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/shortcodes-for-multi-boards/#post-81901</guid>
                    </item>
							        </channel>
        </rss>
		