<?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>
									Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 18 Jun 2026 17:04:24 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27587</link>
                        <pubDate>Fri, 07 Jun 2019 10:28:28 +0000</pubDate>
                        <description><![CDATA[I am sorry to hear that.&nbsp; I was hoping for your help. There are some very usefulland important things that the wp-foro team ignores.]]></description>
                        <content:encoded><![CDATA[<p>I am sorry to hear that.&nbsp; I was hoping for your help. There are some very usefulland important things that the wp-foro team ignores.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CENTRAL4ALL</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27587</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27586</link>
                        <pubDate>Fri, 07 Jun 2019 10:10:50 +0000</pubDate>
                        <description><![CDATA[@central4all sadly, I no longer use wpForo so won&#039;t be supporting this going forward. However, I do agree that this should probably be in the core.]]></description>
                        <content:encoded><![CDATA[<p>@central4all sadly, I no longer use wpForo so won't be supporting this going forward. However, I do agree that this should probably be in the core.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Anonymous3542</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27586</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27466</link>
                        <pubDate>Tue, 04 Jun 2019 12:51:35 +0000</pubDate>
                        <description><![CDATA[Hello @anonymous3542Thanks for the code, is it possible to make it work in the Extended Layout too? Btw: something like this should be a future wpforo feature.]]></description>
                        <content:encoded><![CDATA[<p>Hello <a title="anonymous3542" href="https://wpforo.com/community/profile/anonymous3542/">@anonymous3542</a></p><p>Thanks for the code, is it possible to make it work in the Extended Layout too?</p><p> </p><p>Btw: something like this should be a future wpforo feature.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CENTRAL4ALL</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/paged/2/#post-27466</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26365</link>
                        <pubDate>Thu, 25 Apr 2019 15:40:09 +0000</pubDate>
                        <description><![CDATA[Also, if you&#039;re looking for the &quot;excerpt in threaded posts&quot;, this can be found here]]></description>
                        <content:encoded><![CDATA[<p>Also, if you're looking for the "excerpt in threaded posts", this can be found <a href="https://wpforo.com/community/general-discussions/add-snippet-of-first-post-into-forum-list/paged/2/#post-26084" target="true">here</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>Anonymous3542</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26365</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26364</link>
                        <pubDate>Thu, 25 Apr 2019 15:36:46 +0000</pubDate>
                        <description><![CDATA[@central4allgmail-com sorry - been busy. Here&#039;s the code, plus where it goesNote, that this assumes you have the threaded layout, as that&#039;s what my entire forum is structured with. You shoul...]]></description>
                        <content:encoded><![CDATA[<p>@central4allgmail-com sorry - been busy. Here's the code, plus where it goes</p><p>Note, that this assumes you have the threaded layout, as that's what my entire forum is structured with. You should also have custom templates ready, otherwise, your changes will be overwritten on each update. Based on this, I'm assuming you have templates already located inside a "wpforo" directory in your theme's folder</p><p><span style="color: #ff0000"><strong><em>Take a backup of all files before you modify them :)</em></strong></span></p><p>1. Edit file /wpforo/layouts/4/forum-thread.php. Place the below code around line 7</p><pre>$range = date('Y-m-d',strtotime("-3 days")); </pre><p>2. Find the DIV block &lt;div class="wpf-thread-box wpf-thread-date"&gt; which should be around line 34, and replace with the below</p><pre> &lt;div class="wpf-thread-box wpf-thread-date"&gt;<br />&lt;?php if($thread &gt; $range) {$newpost = "&lt;br&gt;&lt;div class='newpost'&gt;NEW&lt;/div&gt;";} else {$newpost = "";} ?&gt;<br />&lt;?php echo $thread . $newpost ?&gt;<br />&lt;/div&gt;</pre><p>3. Save the file</p><p>4. Save the below block of custom CSS either inside the wpForo settings, or within your own theme</p><pre>.newpost {<br />background: #28b62c !important;<br />padding: 3px !important;<br />padding-left: 10px !important;<br />padding-right: 10px !important;<br />color: #ffffff !important;<br />font-size: 0.6rem !important;<br />font-weight: 700 !important;<br />margin-left: 10px !important;<br />border-radius: 0.2rem !important;<br />margin-top: 5px !important;<br />width: 50%;<br />display: inline-block;<br />}</pre><p>Note that you'll need to tailor this to suit - don't forget that my templates are heavily customised. I'm also having to use !important to override some classes. This probably won't be necessary in your theme.</p><p>5. Modify /wpforo/layouts/4/topic-thread.php in the same manner. Place the below code around line 7 of topic-thread.php</p><pre>$range = date('Y-m-d',strtotime("-3 days")); </pre><p>6. Find the DIV block &lt;div class="wpf-thread-box wpf-thread-date"&gt; which should be around line 30, and replace with the below</p><pre> &lt;div class="wpf-thread-box wpf-thread-date"&gt;<br />&lt;?php if($thread &gt; $range) {$newpost = "&lt;br&gt;&lt;div class='newpost'&gt;NEW&lt;/div&gt;";} else {$newpost = "";} ?&gt;<br />&lt;?php echo $thread . $newpost ?&gt;<br />&lt;/div&gt;</pre><p>7. Save the file</p><p>8. Clear caches, and review. Hopefully, all went well, and things look like they should. </p><p> </p><p> </p><p> </p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Anonymous3542</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26364</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26359</link>
                        <pubDate>Thu, 25 Apr 2019 11:51:52 +0000</pubDate>
                        <description><![CDATA[@anonymous3542 is there a problem with the code to share with us?]]></description>
                        <content:encoded><![CDATA[<div class="wpf-author-nicename" title="You can mention a person using @nicename in post content to send that person an email message. When you post a topic or reply, forum sends an email message to the user letting them know that they have been mentioned on the post.">@anonymous3542 is there a problem with the code to share with us?</div>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CENTRAL4ALL</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26359</guid>
                    </item>
				                    <item>
                        <title>RE: Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26132</link>
                        <pubDate>Fri, 19 Apr 2019 12:59:25 +0000</pubDate>
                        <description><![CDATA[This looks like a great feature if you can share the code]]></description>
                        <content:encoded><![CDATA[<p>This looks like a great feature if you can share the code</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>CENTRAL4ALL</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26132</guid>
                    </item>
				                    <item>
                        <title>Add &quot;NEW&quot; to fresh content, and an excerpt in threaded posts</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26089</link>
                        <pubDate>Thu, 18 Apr 2019 11:46:44 +0000</pubDate>
                        <description><![CDATA[I know someone on here asked about adding a &quot;Fresh&quot; or &quot;New&quot; icon when a new post is added - so I&#039;ve done exactly that as I think it enhances the user experience. Additionally, I&#039;ve added an...]]></description>
                        <content:encoded><![CDATA[<p>I know someone on here asked about adding a "Fresh" or "New" icon when a new post is added - so I've done exactly that as I think it enhances the user experience. Additionally, I've added an excerpt with "Read More" under the topic thread title.</p>
<p>Have a look here - https://inocul8r.net and let me know if you'd like the code changes (it requires templates - please don't modify the core as your changes will over overwritten on the next update)</p>
<p>&nbsp;</p>
<div id="wpfa-" class="wpforo-attached-file"><a class="wpforo-default-attachment" href="//wpforo.com/wp-content/uploads/wpforo/default_attachments/1555588004-in.png" target="_blank"><i class="fas fa-paperclip"></i>in.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>Anonymous3542</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/add-new-to-fresh-content-and-an-excerpt-in-threaded-posts/#post-26089</guid>
                    </item>
							        </channel>
        </rss>
		