<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: How to hide images from front page</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: How to hide images from front page</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 11:45:33 +0000</pubDate>

<item>
<title>Homeroma on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1285622</link>
<pubDate>Wed, 18 Nov 2009 14:44:41 +0000</pubDate>
<dc:creator>Homeroma</dc:creator>
<guid isPermaLink="false">1285622@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi everyone,&#60;/p&#62;
&#60;p&#62;could someone please help me as I have been tearing my hair out for the last few days trying to figure this out.&#60;/p&#62;
&#60;p&#62;What I would like to do on my website is have 3 images on the index page for each post and when clicking on the post I would like 1 to disappear.&#60;/p&#62;
&#60;p&#62;I thought I would be able to try and integrate div classes with the code that chaoskaizer posted above but is not working at all. So really the one that would disappear would have a different div class to the other two.&#60;/p&#62;
&#60;p&#62;Any help would be much appreciated.
&#60;/p&#62;</description>
</item>
<item>
<title>jageland on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1224133</link>
<pubDate>Fri, 25 Sep 2009 02:41:18 +0000</pubDate>
<dc:creator>jageland</dc:creator>
<guid isPermaLink="false">1224133@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've been looking for exactly this thing and it works perfectly!! Love it!!&#60;/p&#62;
&#60;p&#62;Only one thing...&#60;br /&#62;
When having it installed it does something to the rest of the function.php file. I can't log in, comment, update the site etc. The script works brilliantly but not the rest of the site. &#60;/p&#62;
&#60;p&#62;Any idea what the problem might be?&#60;/p&#62;
&#60;p&#62;BTW, this is what comes up:&#60;/p&#62;
&#60;p&#62;Cannot modify header information - headers already sent by (output started at /home/content/h/a/m/hampus/html/test/wp-content/themes/test/functions.php:15) in /home/content/h/a/m/hampus/html/test/wp-includes/classes.php on line 1586&#60;/p&#62;
&#60;p&#62;Thanks!!
&#60;/p&#62;</description>
</item>
<item>
<title>silentvoice84 on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1034374</link>
<pubDate>Thu, 02 Apr 2009 10:26:27 +0000</pubDate>
<dc:creator>silentvoice84</dc:creator>
<guid isPermaLink="false">1034374@http://wordpress.org/support/</guid>
<description>&#60;p&#62;yes that did the trick thanks :)
&#60;/p&#62;</description>
</item>
<item>
<title>chaoskaizer on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1032827</link>
<pubDate>Tue, 31 Mar 2009 23:47:01 +0000</pubDate>
<dc:creator>chaoskaizer</dc:creator>
<guid isPermaLink="false">1032827@http://wordpress.org/support/</guid>
<description>&#60;p&#62;whoops changed it too&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_filter(&#38;#39;the_content&#38;#39;,&#38;#39;wpi_image_content_filter&#38;#39;,11);

function wpi_image_content_filter($content){

    if (is_home() &#124;&#124; is_front_page()){
      $content = preg_replace(&#38;quot;/&#38;lt;img[^&#38;gt;]+\&#38;gt;/i&#38;quot;, &#38;quot;&#38;quot;, $content);
    }

    return $content;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>silentvoice84 on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1032559</link>
<pubDate>Tue, 31 Mar 2009 18:53:43 +0000</pubDate>
<dc:creator>silentvoice84</dc:creator>
<guid isPermaLink="false">1032559@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;The images are still displayed.&#60;/p&#62;
&#60;p&#62;did i miss something ?
&#60;/p&#62;</description>
</item>
<item>
<title>chaoskaizer on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1032016</link>
<pubDate>Tue, 31 Mar 2009 06:19:49 +0000</pubDate>
<dc:creator>chaoskaizer</dc:creator>
<guid isPermaLink="false">1032016@http://wordpress.org/support/</guid>
<description>&#60;p&#62;add the following code inside your theme's &#60;code&#62;functions.php&#60;/code&#62; &#38;darr;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
if (is_home() &#124;&#124; is_front_page()){
    add_filter(&#38;#39;the_content&#38;#39;,&#38;#39;wpi_image_content_filter&#38;#39;,11);
}

function wpi_image_content_filter($content){
    return preg_replace(&#38;quot;/&#38;lt;img[^&#38;gt;]+\&#38;gt;/i&#38;quot;, &#38;quot;&#38;quot;, $content);
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>silentvoice84 on "How to hide images from front page"</title>
<link>http://wordpress.org/support/topic/257866#post-1031962</link>
<pubDate>Tue, 31 Mar 2009 04:18:36 +0000</pubDate>
<dc:creator>silentvoice84</dc:creator>
<guid isPermaLink="false">1031962@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Greetings,&#60;/p&#62;
&#60;p&#62;In each post at front page there are couple of images and screen shots, i was looking for a solution to hide images in post only in front page.&#60;/p&#62;
&#60;p&#62;the &#60;code&#62;&#38;lt;?php the_excerpt(&#38;#39;,&#38;#39;); ?&#38;gt;&#60;/code&#62; is good but i don't know how to customize it to make it &#60;strong&#62;only &#60;/strong&#62;hide the image tag&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
</item>

</channel>
</rss>
