<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: WordPress Filter Examples &#8211; Changing Attributes When Adding Images to Posts</title> <atom:link href="http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/feed/" rel="self" type="application/rss+xml" /><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/</link> <description>Tips and Tutorials for Bloggers and Webmasters</description> <lastBuildDate>Mon, 30 Jan 2012 20:44:42 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: Cor van Noorloos</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-51334</link> <dc:creator>Cor van Noorloos</dc:creator> <pubDate>Sat, 19 Nov 2011 17:23:28 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-51334</guid> <description>Regarding Hugo&#039;s first code snippet, I&#039;m having some difficulties using str_replace as an array. Would something be possible using this example?</description> <content:encoded><![CDATA[<p>Regarding Hugo&#8217;s first code snippet, I&#8217;m having some difficulties using str_replace as an array.<br /> Would something be possible using this example?</p> ]]></content:encoded> </item> <item><title>By: andreu</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-50396</link> <dc:creator>andreu</dc:creator> <pubDate>Sun, 13 Nov 2011 16:21:43 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-50396</guid> <description>pretty nice! its good work on my blog. now i need a TITLE tag and rel tag to change link attributes, Problem now is: how do I set the title attribute of images to the title from the media library / alt text / long description?</description> <content:encoded><![CDATA[<p>pretty nice! its good work on my blog.<br /> now i need a TITLE tag and rel tag to change link attributes, Problem now is: how do I set the title attribute of images to the title from the media library / alt text / long description?</p> ]]></content:encoded> </item> <item><title>By: APM</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-43744</link> <dc:creator>APM</dc:creator> <pubDate>Thu, 06 Oct 2011 15:07:41 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-43744</guid> <description>To use a specific jQuery plugin I need to add the following code into de img tag.[code]data-href=&quot;http://www.webtechwise.com/wp-content/uploads/2010/06/rss-icon.jpg&quot;[/code]Basically the final code should beIs that possible to do it with a filter? Which code I should use?Many thanks for your support</description> <content:encoded><![CDATA[<p>To use a specific jQuery plugin I need to add the following code into de img tag.</p><div class="cic_codes_div"><code>data-href=&quot;http://www.webtechwise.com/wp-content/uploads/2010/06/rss-icon.jpg&quot;</code></div><p>Basically the final code should be</p><p>Is that possible to do it with a filter? Which code I should use?</p><p>Many thanks for your support</p> ]]></content:encoded> </item> <item><title>By: Omer Greenwald</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-32325</link> <dc:creator>Omer Greenwald</dc:creator> <pubDate>Fri, 19 Aug 2011 07:57:06 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-32325</guid> <description>@J thanks, I do my best :-)</description> <content:encoded><![CDATA[<p>@J thanks, I do my best <img src='http://www.webtechwise.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: J</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-32313</link> <dc:creator>J</dc:creator> <pubDate>Fri, 19 Aug 2011 04:16:39 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-32313</guid> <description>Nice to see a post where the author is actively answering questions, even a year later.  Keep up the good work!</description> <content:encoded><![CDATA[<p>Nice to see a post where the author is actively answering questions, even a year later.  Keep up the good work!</p> ]]></content:encoded> </item> <item><title>By: Omer Greenwald</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-26147</link> <dc:creator>Omer Greenwald</dc:creator> <pubDate>Tue, 14 Jun 2011 21:59:00 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-26147</guid> <description>Thanks Bernhard</description> <content:encoded><![CDATA[<p>Thanks Bernhard</p> ]]></content:encoded> </item> <item><title>By: Bernhard</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-25734</link> <dc:creator>Bernhard</dc:creator> <pubDate>Sat, 11 Jun 2011 12:53:13 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-25734</guid> <description>Hi Omer,thank you for this nice code! It&#039;s great to get the possibility to clean up the generated code from classes and so on that are not necessary.</description> <content:encoded><![CDATA[<p>Hi Omer,</p><p>thank you for this nice code! It&#8217;s great to get the possibility to clean up the generated code from classes and so on that are not necessary.</p> ]]></content:encoded> </item> <item><title>By: Omer Greenwald</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-13975</link> <dc:creator>Omer Greenwald</dc:creator> <pubDate>Mon, 28 Feb 2011 14:51:36 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-13975</guid> <description>Draude, so where exactly do you want to display the image?</description> <content:encoded><![CDATA[<p>Draude, so where exactly do you want to display the image?</p> ]]></content:encoded> </item> <item><title>By: Draunde</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-13967</link> <dc:creator>Draunde</dc:creator> <pubDate>Mon, 28 Feb 2011 13:06:18 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-13967</guid> <description>What if I want the image to not appear on the first page after using &lt;!--more--&gt; ? So, I insert an image, a text, and after the text I use &lt;!--more--&gt; but I only want the text to be visible on the first page. Thanks</description> <content:encoded><![CDATA[<p>What if I want the image to not appear on the first page after using  ? So, I insert an image, a text, and after the text I use  but I only want the text to be visible on the first page. Thanks</p> ]]></content:encoded> </item> <item><title>By: David Fung</title><link>http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/#comment-12655</link> <dc:creator>David Fung</dc:creator> <pubDate>Wed, 16 Feb 2011 20:09:21 +0000</pubDate> <guid isPermaLink="false">http://www.webtechwise.com/?p=2533#comment-12655</guid> <description>i dont know either. hehe. php is beyond me. do you think you can email me a snippet that&#039;s correct, since it didn&#039;t post here correctly? thanks so much for your help!thursdavy at gmail.com</description> <content:encoded><![CDATA[<p>i dont know either. hehe. php is beyond me. do you think you can email me a snippet that&#8217;s correct, since it didn&#8217;t post here correctly? thanks so much for your help!</p><p>thursdavy at gmail.com</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.webtechwise.com @ 2012-02-04 06:56:45 -->
