<?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>
									My forum share button is selecting a particular image thumbnail for all the post,topic discussions - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 14 Aug 2026 00:05:47 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/paged/2/#post-32487</link>
                        <pubDate>Sat, 12 Oct 2019 08:23:41 +0000</pubDate>
                        <description><![CDATA[@illinipulse,
Could you please leave your forum&nbsp; URL to allow us to check it?
&nbsp;]]></description>
                        <content:encoded><![CDATA[<p>@illinipulse,</p>
<p>Could you please leave your forum&nbsp; URL to allow us to check it?</p>
<p>&nbsp;</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/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/paged/2/#post-32487</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/paged/2/#post-32482</link>
                        <pubDate>Fri, 11 Oct 2019 21:09:54 +0000</pubDate>
                        <description><![CDATA[Any ideas on this @sofy @Robert]]></description>
                        <content:encoded><![CDATA[<p>Any ideas on this @sofy @Robert</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>IlliniPulse</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/paged/2/#post-32482</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32433</link>
                        <pubDate>Wed, 09 Oct 2019 17:05:49 +0000</pubDate>
                        <description><![CDATA[I put into my main theme functions.php and it still didn&#039;t work.&nbsp; I get this:]]></description>
                        <content:encoded><![CDATA[<p>I put into my main theme functions.php and it still didn't work.&nbsp; I get this:</p>
<p><img src="https://illinipulse.com/wp-content/uploads/2019/10/Image-1.jpg" /></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>IlliniPulse</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32433</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32432</link>
                        <pubDate>Wed, 09 Oct 2019 17:00:42 +0000</pubDate>
                        <description><![CDATA[Posted by: @robert function my_default_og_image( $image_url, $type ){ if( $type == &#039;og:image&#039; &amp;&amp; !$image_url){ return &#039;https://example.com/images/mylogo.jpg&#039;; } else{ return $image_u...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="1" data-postid="24616" data-mention="robert"><div class="wpforo-post-quote-author"><strong> Posted by: @robert </strong></div><p><span style="color: #008d00;font-weight: bold">function </span><span style="color: #0000e5;font-weight: bold">my_default_og_image</span>( <span style="color: #4985c9;font-weight: bold">$image_url</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$type </span>)<span style="color: #5163ac">{<br /></span> <span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #4985c9;font-weight: bold">$type </span><span style="color: #000080">== </span><span style="color: #c64741">'og:image' </span><span style="color: #000080">&amp;&amp; !</span><span style="color: #4985c9;font-weight: bold">$image_url</span>)<span style="color: #5163ac">{<br /></span> <span style="color: #008d00;font-weight: bold">return </span><span style="color: #c64741">'https://example.com/images/mylogo.jpg'</span><span style="color: #313131">;<br /></span> <span style="color: #5163ac">}<br /></span> <span style="color: #008d00;font-weight: bold">else</span><span style="color: #5163ac">{<br /></span> <span style="color: #008d00;font-weight: bold">return </span><span style="color: #4985c9;font-weight: bold">$image_url</span><span style="color: #313131">;<br /></span> <span style="color: #5163ac">}<br /></span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac"><br /></span><span style="color: #0000e5;font-style: italic">add_filter</span>(<span style="color: #c64741">'wpforo_find_image_url'</span><span style="color: #000080">, </span><span style="color: #c64741">'my_default_og_image'</span><span style="color: #000080">, 10, 2</span>)<span style="color: #313131">;</span></p></blockquote><p>I entered this into my child theme (after changing the image example to my own) and it doesn't work.  Any ideas?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>IlliniPulse</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32432</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32431</link>
                        <pubDate>Wed, 09 Oct 2019 16:45:41 +0000</pubDate>
                        <description><![CDATA[Searching through the help forum and ran across this topic.Is there a way to share a specific image from a post to Twitter/Facebook, or only the default option above?]]></description>
                        <content:encoded><![CDATA[<p>Searching through the help forum and ran across this topic.</p><p>Is there a way to share a specific image from a post to Twitter/Facebook, or only the default option above?</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>IlliniPulse</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-32431</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24616</link>
                        <pubDate>Mon, 11 Mar 2019 07:59:15 +0000</pubDate>
                        <description><![CDATA[You don&#039;t have any image in topics and posts so it selects first found image from your website. This is normal. wpForo detects images in topic first post content when you try to share a topi...]]></description>
                        <content:encoded><![CDATA[<p>You don't have any image in topics and posts so it selects first found image from your website. This is normal. wpForo detects images in topic first post content when you try to share a topic and it sets found first image as share image. Here is a good topic to see that in action: https://wpforo.com/community/general-discussions/sharing-wpforo-links-on-linkedin/</p><p>For non-topic (forum home, forums and other) pages and for topics without an image wpForo allows to set default share image.  That's the default share image (og:image share tag) . You should put this code in WordPress theme <span style="color: #ff6600">functions.php</span> file to set it. Just change the <span style="color: #ff0000">red</span> marked image URL to your website/forum logo URL or to something else, it'll be the default share image:</p><pre><span style="color: #008d00;font-weight: bold">function </span><span style="color: #0000e5;font-weight: bold">my_default_og_image</span>( <span style="color: #4985c9;font-weight: bold">$image_url</span><span style="color: #000080">, </span><span style="color: #4985c9;font-weight: bold">$type </span>)<span style="color: #5163ac">{<br /></span>    <span style="color: #008d00;font-weight: bold">if</span>( <span style="color: #4985c9;font-weight: bold">$type </span><span style="color: #000080">== </span><span style="color: #c64741">'og:image' </span><span style="color: #000080">&amp;&amp; !</span><span style="color: #4985c9;font-weight: bold">$image_url</span>)<span style="color: #5163ac">{<br /></span>        <span style="color: #008d00;font-weight: bold">return </span><span style="color: #c64741">'https://example.com/images/mylogo.jpg'</span><span style="color: #313131">;<br /></span>    <span style="color: #5163ac">}<br /></span>    <span style="color: #008d00;font-weight: bold">else</span><span style="color: #5163ac">{<br /></span>        <span style="color: #008d00;font-weight: bold">return </span><span style="color: #4985c9;font-weight: bold">$image_url</span><span style="color: #313131">;<br /></span>    <span style="color: #5163ac">}<br /></span><span style="color: #5163ac">}<br /></span><span style="color: #5163ac"><br /></span><span style="color: #0000e5;font-style: italic">add_filter</span>(<span style="color: #c64741">'wpforo_find_image_url'</span><span style="color: #000080">, </span><span style="color: #c64741">'my_default_og_image'</span><span style="color: #000080">, 10, 2</span>)<span style="color: #313131">;</span><br /><br /></pre><p><a href="http://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" target="true">How to Easily Add Custom Code in WordPress (without Breaking Your Site)</a></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>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24616</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24604</link>
                        <pubDate>Sun, 10 Mar 2019 23:15:41 +0000</pubDate>
                        <description><![CDATA[]]></description>
                        <content:encoded><![CDATA[<p>https://hertzelectroz.com/community/</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>HertzElectroz</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24604</guid>
                    </item>
				                    <item>
                        <title>RE: My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24603</link>
                        <pubDate>Sun, 10 Mar 2019 23:09:27 +0000</pubDate>
                        <description><![CDATA[Please leave your website URL to allow us check it. And provide an example.]]></description>
                        <content:encoded><![CDATA[<p>Please leave your website URL to allow us check it. And provide an example.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24603</guid>
                    </item>
				                    <item>
                        <title>My forum share button is selecting a particular image thumbnail for all the post,topic discussions</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24602</link>
                        <pubDate>Sun, 10 Mar 2019 23:07:17 +0000</pubDate>
                        <description><![CDATA[please how can i fix this error in my site, please can anyone help]]></description>
                        <content:encoded><![CDATA[<p>please how can i fix this error in my site, please can anyone help</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>HertzElectroz</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/my-forum-share-button-is-selecting-a-particular-image-thumbnail-for-all-the-posttopic-discussions/#post-24602</guid>
                    </item>
							        </channel>
        </rss>
		