<?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>
									New Forum - only show 2 or 3 posts for home page - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 18 Jun 2026 01:24:53 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: New Forum - only show 2 or 3 posts for home page</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118178</link>
                        <pubDate>Tue, 29 Oct 2024 13:06:51 +0000</pubDate>
                        <description><![CDATA[@martinasjam 
The developers suggest using the hook code below: 
add_filter( &#039;wpforo_recent_posts_limit&#039;, function($limit){
    $boardid = WPF()-&gt;board-&gt;get_current(&#039;boardid&#039;);
   ...]]></description>
                        <content:encoded><![CDATA[<p>@martinasjam </p>
<p>The developers suggest using the hook code below: </p>
<pre contenteditable="false">add_filter( 'wpforo_recent_posts_limit', function($limit){
    $boardid = WPF()-&gt;board-&gt;get_current('boardid');
    if( $boardid === 15 ){
        $limit = 2;
    }else{
        $limit = 365;
    }
    
    return $limit;
} );</pre>
<p><span>Here’s a helpful article on safely adding custom code in WordPress: </span><a class="wpforo-auto-embeded-link" href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" target="_blank" rel="nofollow nofollow noopener"><span> </span>https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/</a></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118178</guid>
                    </item>
				                    <item>
                        <title>RE: New Forum - only show 2 or 3 posts for home page</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118125</link>
                        <pubDate>Sat, 26 Oct 2024 15:46:02 +0000</pubDate>
                        <description><![CDATA[Here&#039;s a screenshot of an example of 2 posts I want to show from the new board.
&nbsp;Screenshot-2024-10-26-at-10.40.54 AM.png]]></description>
                        <content:encoded><![CDATA[<p>Here's a screenshot of an example of 2 posts I want to show from the new board.</p>
<div id="wpfa-0" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1729957562-Screenshot-2024-10-26-at-104054AM.png" target="_blank" title="Screenshot-2024-10-26-at-10.40.54 AM.png"><i class="fas fa-paperclip"></i>&nbsp;Screenshot-2024-10-26-at-10.40.54 AM.png</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>martinasjam</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118125</guid>
                    </item>
				                    <item>
                        <title>RE: New Forum - only show 2 or 3 posts for home page</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118124</link>
                        <pubDate>Sat, 26 Oct 2024 15:43:39 +0000</pubDate>
                        <description><![CDATA[@sofy I currently have 2 boards - working well.

I&#039;m creating another board that will be featured on the home page
For the new board, I only want to show 2 of the most recent posts. (see ...]]></description>
                        <content:encoded><![CDATA[<p>@sofy I currently have 2 boards - working well.</p>
<ul>
<li>I'm creating another board that will be featured on the home page</li>
<li>For the new board, I only want to show 2 of the most recent posts. (see attached)</li>
<li>For my first 2 boards, I added code (see attached) to show more posts for my feed page: https://thebreastcastg.wpenginepowered.com/feed-2/</li>
<li>Now, I only want to show the most recent 2 posts for my 3rd board. How can I do that?</li>
</ul>
<p>Hope this helps.</p>
<div id="wpfa-0" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1729957419-Screenshot-2024-10-26-at-104229AM.png" target="_blank" title="Screenshot-2024-10-26-at-10.42.29 AM.png"><i class="fas fa-paperclip"></i>&nbsp;Screenshot-2024-10-26-at-10.42.29 AM.png</a></div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>martinasjam</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118124</guid>
                    </item>
				                    <item>
                        <title>RE: New Forum - only show 2 or 3 posts for home page</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118122</link>
                        <pubDate>Sat, 26 Oct 2024 09:09:13 +0000</pubDate>
                        <description><![CDATA[Hi,
We don&#039;t follow you well. Could you please rephrase your question? 
I&#039;d suggest you check out the wpForo Boards system. More info here:]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>We don't follow you well. Could you please rephrase your question? </p>
<p>I'd suggest you check out the wpForo Boards system. More info here: https://wpforo.com/docs/wpforo-v2/categories-and-forums/forum-boards/</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Sofy</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118122</guid>
                    </item>
				                    <item>
                        <title>New Forum - only show 2 or 3 posts for home page</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118116</link>
                        <pubDate>Fri, 25 Oct 2024 16:16:02 +0000</pubDate>
                        <description><![CDATA[I&#039;d like to add a new forum but only show 2 or 3 latest posts for my home page to get new content there. The shortcode i use won&#039;t work because I&#039;m already using a feed to pull and code in m...]]></description>
                        <content:encoded><![CDATA[<p>I'd like to add a new forum but only show 2 or 3 latest posts for my home page to get new content there. The shortcode i use won't work because I'm already using a feed to pull and code in my functions.php page to show posts from another forum for up to a specific date range.</p>
<p> </p>
<p>is it possible to only show 2-3 of a separate forum? either through functions.php OR shortcode?</p>
<p>thank you!</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>martinasjam</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/new-forum-only-show-2-or-3-posts-for-home-page/#post-118116</guid>
                    </item>
							        </channel>
        </rss>
		