<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The unexpected is what changes our lives. &#187; WP Plugins</title>
	<atom:link href="http://tobias.baethge.com/info/wp-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://tobias.baethge.com</link>
	<description>Website of Tobias Bäthge.</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:25:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>A Happy New Year with WP-Table Reloaded 1.9.3!</title>
		<link>http://tobias.baethge.com/2012/01/a-happy-new-year-with-wp-table-reloaded-1-9-3/</link>
		<comments>http://tobias.baethge.com/2012/01/a-happy-new-year-with-wp-table-reloaded-1-9-3/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 21:43:53 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[enhancement]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=1043</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite A Happy New Your to everyone! 2012 starts with a maintenance release of WP-Table Reloaded. The automatic update for version 1.9.3 should be available in your WordPress Dashboard shortly. I&#8217;m especially happy about the improved integration in the WordPress search, which should lead to better search results when searching for [...]]]></description>
			<content:encoded><![CDATA[<div style="width:100%;text-align:center;font-weight:bold;"><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://cdn.baethge.com/tb2010/flags/us.png" alt="English" /> English plugin page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-deutsch/"><img src="http://cdn.baethge.com/tb2010/flags/de.png" alt="German" /> deutsche Plugin-Seite</a></div>
<p><br class="clearboth" /><br />
A Happy New Your to everyone! 2012 starts with a maintenance release of WP-Table Reloaded. The automatic update for version 1.9.3 should be available in your WordPress Dashboard shortly.</p>
<p>I&#8217;m especially happy about the improved integration in the WordPress search, which should lead to better search results when searching for content in tables. Also, a small change in the default CSS code (thanks to <a href="http://www.datatables.net/">Allan Jardine</a>) should lead to less trouble with blank space below tables (which some users experienced).</p>
<p>The other changes in WP-Table Reloaded 1.9.3 mostly consist of bugfixes and improvements: </p>
<ul>
<li>enhancement: reduce problems with blank space below tables, caused by a no-longer necessary minimum height</li>
<li>enhancement: improve behavior and returned results of integration of the WP search</li>
<li>enhancement: many improvements to the performance of JavaScript code on the WP-Table Reloaded screens</li>
<li>enhancement: more possibilities for developer interaction (additional plugin filters, etc.)</li>
<li>bugfix: fixed naming of the sorting arrow images, which where pointing in the wrong direction</li>
<li>bugfix: fixes to handling of the &#8220;Insert Image&#8221; thickbox</li>
<li>bugfix: minor fixes to logical errors in JavaScript code on the WP-Table Reloaded screens</li>
<li>IMPORTANT: Dropped support for outdated WordPress 3.0 (I always recommend using the newest version!)</li>
<li>languages: Added Bulgarian</li>
</ul>
<p><span id="more-1043"></span></p>
<p>You can download WP-Table Reloaded 1.9.3 from the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/#download">plugin&#8217;s page</a> or from the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>.</p>
<p>If you like the plugin, I&#8217;d be very happy if you would give it a high rating in the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>. You might also consider <strong><a href="http://tobias.baethge.com/donate/">a donation</a></strong> or have a look at <a href="http://tobias.baethge.com/wishlist/">my Amazon wishlist</a>. This will encourage me to further develop and maintain the plugin and keep giving countless hours of support. Thank you!</p>
<p>If you experience any trouble, find bugs or have feature requests, please don&#8217;t hesitate to contact me via the means mentioned in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support section</a>. Please make sure to carefully read the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">plugin&#8217;s page</a> as well as the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/documentation/">Documentation</a> before asking for support, as this will make it easier for me to provide support. A lot of questions are already answered in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/">Frequently Asked Questions</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2012/01/a-happy-new-year-with-wp-table-reloaded-1-9-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-Table Reloaded 1.9.2 is available!</title>
		<link>http://tobias.baethge.com/2011/09/wp-table-reloaded-1-9-2-is-available/</link>
		<comments>http://tobias.baethge.com/2011/09/wp-table-reloaded-1-9-2-is-available/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 20:59:32 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[enhancement]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=1025</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite After almost seven long months of waiting, a new version of WP-Table Reloaded is finally available. The automatic update for version 1.9.2 should be available in your WordPress Dashboard shortly. Unfortunately, due to time constraints from work, university studies, and family life, I was not able to publish this new [...]]]></description>
			<content:encoded><![CDATA[<div style="width:100%; text-align:center; font-weight: bold;"><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://cdn.baethge.com/tb2010/flags/us.png" alt="English" /> English plugin page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-deutsch/"><img src="http://cdn.baethge.com/tb2010/flags/de.png" alt="German" /> deutsche Plugin-Seite</a></div>
<p><br class="clearboth" /></p>
<p>After almost seven long months of waiting, a new version of WP-Table Reloaded is finally available. The automatic update for version 1.9.2 should be available in your WordPress Dashboard shortly.</p>
<p>Unfortunately, due to time constraints from work, university studies, and family life, I was not able to publish this new version earlier, but finally had some time now. I really want to apologize for any inconvenience this might have caused, e.g. because you were affected by the fixed bugs. I did however try to keep the level of support in the WP support forums up, which hopefully compensates for this.</p>
<p>The changes in WP-Table Reloaded 1.9.2 include several bugfixes and improvements: </p>
<ul>
<li>bugfix: Correct column width of &#8220;Edit&#8221; screen input fields in Internet Explorer 9</li>
<li>bugfix: Moved columns/rows were not moved to the correct place</li>
<li>bugfix: Restore functionality of the &#8220;Delete&#8221; link on the &#8220;List of Tables&#8221;</li>
<li>feature: Updated DataTables JavaScript library to 1.8.2</li>
<li>enhancement: cleaned up and optimized some code for better compatibility, adjustments to current WordPress versions</li>
<li>IMPORTANT: Dropped support for outdated WordPress versions 2.8 and 2.9</li>
<li>languages: Irish and Portuguese (Portugal), updated other languages</li>
</ul>
<p><span id="more-1025"></span></p>
<p>You can download WP-Table Reloaded 1.9.2 from the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/#download">plugin&#8217;s page</a> or from the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>.</p>
<p>If you like the plugin, I&#8217;d be very happy if you would give it a high rating in the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>. You might also consider <strong><a href="http://tobias.baethge.com/donate/">a donation</a></strong> or have a look at <a href="http://tobias.baethge.com/wishlist/">my Amazon wishlist</a>. This will encourage me to further develop and maintain the plugin and keep giving countless hours of support. Thank you!</p>
<p>If you experience any trouble, find bugs or have feature requests, please don&#8217;t hesitate to contact me via the means mentioned in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support section</a>. Please make sure to carefully read the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">plugin&#8217;s page</a> as well as the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/documentation/">Documentation</a> before asking for support, as this will make it easier for me to provide support. A lot of questions are already answered in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/">Frequently Asked Questions</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2011/09/wp-table-reloaded-1-9-2-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There it is: WP-Table Reloaded 1.9.1</title>
		<link>http://tobias.baethge.com/2011/02/there-it-is-wp-table-reloaded-1-9/</link>
		<comments>http://tobias.baethge.com/2011/02/there-it-is-wp-table-reloaded-1-9/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 16:26:49 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[enhancement]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=943</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite A long time has gone by without a release of WP-Table Reloaded, but now, a new version of the plugin is ready. The automatic update for WP-Table Reloaded 1.9 should be available in your WordPress Dashboard shortly. UPDATE: Due to a bug in the update handling that could arise in [...]]]></description>
			<content:encoded><![CDATA[<div style="width:100%; text-align:center; font-weight: bold;"><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://cdn.baethge.com/tb2010/flags/us.png" alt="English" /> English plugin page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-deutsch/"><img src="http://cdn.baethge.com/tb2010/flags/de.png" alt="German" /> deutsche Plugin-Seite</a></div>
<p><br class="clearboth" /></p>
<p>A long time has gone by without a release of WP-Table Reloaded, but now, a new version of the plugin is ready. The automatic update for WP-Table Reloaded 1.9 should be available in your WordPress Dashboard shortly.</p>
<p><strong>UPDATE</strong>: Due to a bug in the update handling that could arise in certain scenarios, version 1.9.1 has been released with a quick fix.</p>
<p>There are no really big new features, but the included changes should be very handy for a lot of people: </p>
<ul>
<li>feature: option to have the generated table HTML cached in a WordPress transient for faster page generation</li>
<li>feature: Tables can get additional custom CSS classes, e.g. for easier layout and styling, and grouping tables.</li>
<li>feature: Updated DataTables JavaScript library to 1.7.5</li>
<li>enhancement: adjustments to make the plugin work better with WordPress 3.1</li>
<li>enhancement: Add cell content as a parameter for the CSS class filter</li>
<li>enhancement: Additional ID-based CSS classes for the table name and description texts</li>
<li>enhancement: JavaScript features on &#8220;List of Tables&#8221; screen can be customized more</li>
<li>enhancement: cleaned up and optimized some code</li>
<li>languages: Added Dutch and Indonesian, updated other languages</li>
</ul>
<p>Personally, I really like the caching feature, because with that, generated table HTML code can now be cached, so that subsequent page loads are faster (HTML generation is not very fast and only necessary when a table is updated). Also, the custom CSS classes for tables should help a lot of people, because with them, styling tables with existing CSS code has become easier. This allows grouping of tables with the same layout more easily.<br />
<span id="more-943"></span></p>
<p>You can download WP-Table Reloaded 1.9 from the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/#download">plugin&#8217;s page</a> or from the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>.</p>
<p>If you like the plugin, I&#8217;d be very happy if you would rate it in the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>. You might also consider <strong><a href="http://tobias.baethge.com/donate/">a donation</a></strong> or have a look at <a href="http://tobias.baethge.com/wishlist/">my Amazon wishlist</a>. This will encourage me to further develop the plugin and keep giving countless hours of support. Thank you!</p>
<p>If you experience any trouble, find bugs or have feature requests, please don&#8217;t hesitate to contact me via the means mentioned in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support section</a>. Please make sure to carefully read the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">plugin&#8217;s page</a> as well as the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/documentation/">Documentation</a>. A lot of questions are already answered in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/">Frequently Asked Questions</a> section.</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2011/02/there-it-is-wp-table-reloaded-1-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It is there, finally: WP-Table Reloaded 1.8</title>
		<link>http://tobias.baethge.com/2010/08/it-is-there-finally-wp-table-reloaded-1-8/</link>
		<comments>http://tobias.baethge.com/2010/08/it-is-there-finally-wp-table-reloaded-1-8/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 13:35:47 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[enhancement]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=924</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite The automatic update for WP-Table Reloaded 1.8 should be available in your WordPress admin area shortly. With that, a long period of time without an upgrade has finally ended. Changes are: feature: Updated JavaScript libraries to DataTables 1.7 and TableTools 1.1.4 enhancement: Template tag functions now accept strings and arrays [...]]]></description>
			<content:encoded><![CDATA[<div style="width:100%; text-align:center; font-weight: bold;"><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://cdn.baethge.com/tb2010/flags/us.png" alt="English" /> English plugin page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-deutsch/"><img src="http://cdn.baethge.com/tb2010/flags/de.png" alt="German" /> deutsche Plugin-Seite</a></div>
<p><br class="clearboth" /></p>
<p>The automatic update for WP-Table Reloaded 1.8 should be available in your WordPress admin area shortly. With that, a long period of time without an upgrade has finally ended.</p>
<p>Changes are:</p>
<ul>
<li>feature: Updated JavaScript libraries to DataTables 1.7 and TableTools 1.1.4</li>
<li>enhancement: Template tag functions now accept strings and arrays for passing parameters</li>
<li>enhancement: Backwards compatibility for deprecated functions, no longer use them</li>
<li>enhancement: Sort on &#8220;Edit&#8221; screen no longer moves header or footer row, if they are activated</li>
<li>enhancement: Added plugin filter hook to change table content prior to rendering</li>
<li>enhancement: Added &#8220;summary&#8221; attribute filter for <code>&lt;table&gt;</code> HTML element</li>
<li>enhancement: RTL-languages supported in frontend CSS</li>
<li>enhancement: Adjusted default CSS for new default theme &#8220;TwentyTen&#8221;</li>
<li>bugfix: Fixed search to not find table IDs with the same beginning</li>
<li>bugfix: Fixed problem with certain call-by-reference functions in certain versions of PHP</li>
<li>bugfix: valid HTML on &#8220;Plugin Options&#8221; screen</li>
<li>bugfix: Fixed notice due to not initialized variable</li>
<li>bugfix: Fixed DataTables translations for Danish and Norwegian</li>
<li>languages: Added Polish and Belarusian</li>
<li>languages: Added Romanian for DataTables</li>
</ul>
<p><span id="more-924"></span></p>
<p>You can download WP-Table Reloaded 1.8 from the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/#download">plugin&#8217;s page</a> or from the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>.</p>
<p>If you like the plugin, I&#8217;d be very happy if you would rate it in the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>. You might also consider <strong><a href="http://tobias.baethge.com/donate/">a donation</a></strong> or have a look at <a href="http://tobias.baethge.com/wishlist/">my Amazon wishlist</a>. This will encourage me to further develop the plugin and keep giving countless hours of support. Thank you!</p>
<p>If you experience any trouble, find bugs or have feature requests, please don&#8217;t hesitate to contact me via the means mentioned in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support section</a>. Please make sure to carefully read the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">plugin&#8217;s page</a> as well as the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/documentation/">Documentation</a>. A lot of questions are already answered in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/">Frequently Asked Questions</a> section.</p>
<p>I hope you enjoy the new version! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/08/it-is-there-finally-wp-table-reloaded-1-8/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
		<item>
		<title>Happy Birthday WP-Table Reloaded!</title>
		<link>http://tobias.baethge.com/2010/04/happy-birthday-wp-table-reloaded/</link>
		<comments>http://tobias.baethge.com/2010/04/happy-birthday-wp-table-reloaded/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:30:46 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[birthday]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=900</guid>
		<description><![CDATA[There was a nice anniversary last week: A little bit over one year ago, the first version of WP-Table Reloaded was released in the WordPress Plugin Repository. Since then, the plugin has steadily received attention and has become very popular: over 85000 downloads about 90 ratings with an average rating of 96.4% 14 available translations [...]]]></description>
			<content:encoded><![CDATA[<p>There was a nice anniversary last week: A little bit over one year ago, the first version of WP-Table Reloaded <a href="http://plugins.trac.wordpress.org/changeset/108798/wp-table-reloaded">was released</a> in the WordPress Plugin Repository.</p>
<p>Since then, the plugin has steadily received attention and has become very popular:</p>
<ul>
<li>over <strong>85000 downloads</strong></li>
<li>about <strong>90 ratings</strong></li>
<li>with an average rating of <strong>96.4%</strong></li>
<li><strong>14</strong> available <strong>translations</strong></li>
<li>over <strong>1300 comments</strong> on this website</li>
<li>almost <strong>200 threads</strong> in the WordPress Support Forums</li>
<li>countless emails with questions, suggestions, ideas, bugs, feedback, and praise</li>
</ul>
<p>At this point, the first birthday of WP-Table Reloaded, I&#8217;d like to say <strong>THANK YOU</strong> to everybody in the community who made this possible. This includes (I hope I don&#8217;t forget anyone :-) ) the users, the supporters, the code contributors, the beta-testers, the bug reporters, the translators, and especially the people who donated or sent me a gift. Thank you all very much!<br />
<span id="more-900"></span></p>
<p>Let&#8217;s hope that these numbers while have increased for the second birthday. I still have ideas for future versions, so stay tuned! :-)</p>
<p>One consequence of this popularity is the steadily growing amount of support requests. I&#8217;ll generally try to answer each single one of them quickly and with a precise and good answer, and I believe that I was pretty successful with that so far. However, it is getting harder and harder to keep up with the high number of questions that people have, and which I accepted in different ways: through email, comments, and the support forums. Unfortunately, my available free time does no longer permit this dedication, as I&#8217;m busy with other things outside of WordPress, too, like my studies and my great job.</p>
<p>Therefore, I will incorporate a change to my <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support handling policy</a>: I would like to get more people involved in answering support questions, in areas where this is possible. For that, from now on, the <strong><a href="http://wordpress.org/tags/wp-table-reloaded">WordPress Support Forums</a></strong> will be the primary place to ask support questions and receive answers. I will close the support comments section on this site, but will leave the existing ones for reference. Additionally, I will no longer answer support questions that come in by email, except if I asked for them, or if they contain bug reports or sensitive information that shall not be publicly available.<br />
I&#8217;m doing this to gather all support questions in one place, where others (and I) have a better overview about them. This will hopefully lead to other people helping out with answering questions. So, if you know the answer to, e.g., a styling question, please feel free to answer such questions. I will still monitor the Support Forums and try to provide answers as my time permits, of course.<br />
Hopefully, this will keep up the current level of support, which I could not uphold otherwise.<br />
Maybe I can also use the approach that other plugin authors have incorporated: Donations can be made encourage support for specific questions.</p>
<p>Thanks a lot for your understanding!</p>
<p>And now let&#8217;s celebrate the first birthday of WP-Table Reloaded! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/04/happy-birthday-wp-table-reloaded/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Extension 7: Textfield widths on the “Edit” page</title>
		<link>http://tobias.baethge.com/2010/03/extension-7-textfield-widths-on-the-edit-page/</link>
		<comments>http://tobias.baethge.com/2010/03/extension-7-textfield-widths-on-the-edit-page/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 20:26:48 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[Plugin Extension]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=844</guid>
		<description><![CDATA[A few weeks ago, I was approached with a question on whether it is possible to make the textfields on the &#8220;Edit&#8221; screen of a table wider, to allow for an easier editing of long text. As this might also interest other people, I decided to publish the solution as a WP-Table Reloaded Extension. My [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I was approached with a question on whether it is possible to make the textfields on the &#8220;Edit&#8221; screen of a table wider, to allow for an easier editing of long text. As this might also interest other people, I decided to publish the solution as a WP-Table Reloaded Extension.<br />
<span id="more-844"></span></p>
<p>My thanks for making this possible go out to the folks at <a href="http://ningbohotelreview.com">ningboHOTELreview.com</a>. Thanks!</p>
<p>To get started with WP-Table Reloaded Extensions, you should <a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">read the introduction</a> and follow the included instructions. You will also find links to the other presented Extensions there.</p>
<p>Now lets come to the actual code of the Extension:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">/**
 * Change default textfield width on the &quot;Edit&quot; screen
 */
if ( is_admin() ) {
    function wp_table_reloaded_textarea_width_css() {
        ?&gt;
&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
            /* Change all columns */
            #table_contents textarea {
                min-width: 400px;
            }
&nbsp;
            /* Change only textareas in column A */
            #table_contents .edit_col_1 textarea {
                min-width: 780px;
            }
        &lt;/style&gt;
&nbsp;
        <span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #009900;">&#125;</span>
    add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;admin_print_styles-<span style="color: #006699; font-weight: bold;">{$WP_Table_Reloaded_Admin-&gt;hook}</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_textarea_width_css'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>



<p><strong>Important:</strong> The code from above is not yet ready to use! (Well, it would work, but is not really useful.) Before it will be useful to you, you need to adjust the included CSS code, so that it changes the width to what you want. You can see two sections of CSS code, marked by a comment line above them. The first one is responsible for setting the textfield width on all columns of the &#8220;Edit&#8221; screen. The second example only changes those of the first column. You can copy that section as often as needed (don&#8217;t forget to change the &#8220;.col_1&#8243; to whatever you need). For both sections you can then set the width to any pixel value you like, by simply changing the number after the &#8220;min-width:&#8221; attribute.</p>
<p>Then, the code just needs to be copied into the file &#8220;wp-table-reloaded-extensions.php&#8221;, created according to <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/extensions/">these instructions</a> (after the Plugin Header comment, but before the closing PHP bracket <code>?&gt;</code>). Then, just activate the new plugin &#8220;WP-Table Reloaded Extensions&#8221;, if you haven&#8217;t. That&#8217;s it! :-)</p>
<p>If you like this series of Extensions, I&#8217;m happy about any feedback, and especially about further suggestions!</p>
<p>Previous posts in this series that might interest you:</p>
<ul>
<li><a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">Announcement and Foundation on Extensions</a></li>
<li><a href="http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/">Extension 1: Automatic URL to Links conversion</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/">Extension 2: Custom Name in the Admin Menu</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/">Extension 3: Changing the Table Shortcode</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/">Extension 4: Changing DataTables strings</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/">Extension 5: How to use PHP in table cells</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-6-showing-only-rows-that-match-a-filter/">Extension 6: Showing only rows that match a filter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/03/extension-7-textfield-widths-on-the-edit-page/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>New update available: WP-Table Reloaded 1.7</title>
		<link>http://tobias.baethge.com/2010/03/new-update-available-wp-table-reloaded-1-7/</link>
		<comments>http://tobias.baethge.com/2010/03/new-update-available-wp-table-reloaded-1-7/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 19:21:18 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=874</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite After six weeks without an update, a new version of WP-Table Reloaded can be downloaded: The automatic update for WP-Table Reloaded 1.7 should be available in your WordPress admin area shortly. As already mentioned in the beta test announcement post, the changes are: feature: add &#8220;Table&#8221; button to the visual [...]]]></description>
			<content:encoded><![CDATA[<div style="width:100%; text-align:center; font-weight: bold;"><a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/"><img src="http://cdn.baethge.com/tb2010/flags/us.png" alt="English" /> English plugin page</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-deutsch/"><img src="http://cdn.baethge.com/tb2010/flags/de.png" alt="German" /> deutsche Plugin-Seite</a></div>
<p><br class="clearboth" /></p>
<p>After six weeks without an update, a new version of WP-Table Reloaded can be downloaded: The automatic update for WP-Table Reloaded 1.7 should be available in your WordPress admin area shortly.</p>
<p>As already mentioned in the beta test announcement post, the changes are:</p>
<ul>
<li>feature: add &#8220;Table&#8221; button to the visual editor (TinyMCE)</li>
<li>feature: update DataTables JavaScript library to version 1.6.2, including TableTools</li>
<li>enhancement: add option for initial number of rows per pagination page</li>
<li>enhancement: &#8220;DataTables JavaScript Features&#8221; section is visible by default</li>
<li>enhancement: add value &#8220;all&#8221; to the four Shortcode parameters show_rows, hide_rows, show_columns, hide_columns</li>
<li>enhancement: add WP-Table Reloaded screen icon to all plugin screens and the Top-Level menu entry</li>
<li>enhancement: add two template tag functions that return the output instead of echoing it</li>
<li>bugfix: fix problem with admin menu parent pages, make them ready for WP 3.0</li>
<li>bugfix: import/replace replaces only data; name, description, options, and visibility settings are kept</li>
<li>languages: added French, Chinese (Simplified), Russian, and Ukrainian</li>
<li>a few minor changes, fixes, code clean-ups, and optimizations</li>
</ul>
<p><span id="more-874"></span></p>
<p>During the last weeks, I also published several <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/extensions/">WP-Table Reloaded Extensions</a>, small code snippets that can be used to add further functions to the plugin, and that have received a great reception by all users.</p>
<p>You can download WP-Table Reloaded 1.7 from the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/#download">plugin&#8217;s page</a> or from the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>.</p>
<p>If you like the plugin, I&#8217;d be very happy if you would rate it in the <a href="http://wordpress.org/extend/plugins/wp-table-reloaded/">WordPress Plugin Directory</a>. You might also consider <strong><a href="http://tobias.baethge.com/donate/">a donation</a></strong> or have a look at <a href="http://tobias.baethge.com/wishlist/">my Amazon wishlist</a>. This will encourage me to further develop the plugin and keep giving countless hours of support. Thank you!</p>
<p>If you experience any trouble, find bugs or have feature requests, please don&#8217;t hesitate to contact me via the means mentioned in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/support/">support section</a>. Please make sure to carefully read the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/">plugin&#8217;s page</a> as well as the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/documentation/">Documentation</a>. A lot of questions are already answered in the <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/faq/">Frequently Asked Questions</a> section.</p>
<p>I hope you enjoy the new version! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/03/new-update-available-wp-table-reloaded-1-7/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Beta test now: WP-Table Reloaded 1.7</title>
		<link>http://tobias.baethge.com/2010/03/beta-test-now-wp-table-reloaded-1-7/</link>
		<comments>http://tobias.baethge.com/2010/03/beta-test-now-wp-table-reloaded-1-7/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 17:36:21 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=861</guid>
		<description><![CDATA[As I have done with previous versions in the past, there is now a public beta test of WP-Table Reloaded 1.7. The list of features is not as big as it was for 1.5 or for 1.6, but altogether I really like them and decided to make them available now. The list of changes for [...]]]></description>
			<content:encoded><![CDATA[<p>As I have done with previous versions in the past, there is now a public beta test of WP-Table Reloaded 1.7. The list of features is not as big as it was for 1.5 or for 1.6, but altogether I really like them and decided to make them available now.<br />
<span id="more-861"></span></p>
<p>The list of changes for 1.7 includes:</p>
<ul>
<li>feature: add &#8220;Table&#8221; button to the visual editor (TinyMCE)</li>
<li>feature: update DataTables JavaScript library to version 1.6.2, including TableTools</li>
<li>enhancement: add option for initial number of rows per pagination page</li>
<li>enhancement: add value &#8220;all&#8221; to the four Shortcode parameters show_rows, hide_rows, show_columns, hide_columns</li>
<li>enhancement: add WP-Table Reloaded screen icon to all plugin screens and the Top-Level menu entry</li>
<li>enhancement: add two template tag functions that return the output instead of echoing it</li>
<li>bugfix: fix problem with admin menu parent pages, make them ready for WP 3.0</li>
<li>a few minor changes, fixes, code clean-ups, and optimisations</li>
</ul>
<p>If you are willing to help and want to take part in the beta test, please download the <strong><a href="http://tobias.baethge.com/download/1.7-beta1/wp-table-reloaded.zip">developer version &#8220;1.7-beta1&#8243;</a></strong>. I plan to release the plugin in about a week (around the 12th of March).</p>
<p>To install the beta version, <strong>deactivate</strong> your current version, replace the folder &#8220;wp-table-reloaded&#8221; in your &#8220;plugins&#8221; folder with the one from the downloaded zip-file and activate the plugin again. Deactivation and Activation are <strong>VERY IMPORTANT</strong>!</p>
<p>BUT: Please note that this is a beta release. Although I&#8217;ve tested it on my site, I do NOT recommend using it on your production site, just yet. As always: Please make sure to have a backup of your files and your database before installing it. Thanks!</p>
<p>If you encounter any bugs, errors or problems, please leave them here as a comment. Feature requests are also welcome, of course.</p>
<p>I would also like all translators to update their translations. There&#8217;s .pot-file included in case you need it. After you are done, please email me the *.po and the *.mo file of your language. In any case: Please let me know, if you will be translating the new version or if you can not do it (for whatever reasons). Big thanks to all translators!</p>
<p><strong>Thanks already to all beta-testers and translators!</strong> As always: Please don&#8217;t hesitate to comment or email me with any questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/03/beta-test-now-wp-table-reloaded-1-7/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Extension 6: Showing only rows that match a filter</title>
		<link>http://tobias.baethge.com/2010/03/extension-6-showing-only-rows-that-match-a-filter/</link>
		<comments>http://tobias.baethge.com/2010/03/extension-6-showing-only-rows-that-match-a-filter/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 09:24:48 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[Plugin Extension]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=842</guid>
		<description><![CDATA[Some people have approached me with an idea like this one: They have a rather large table which they maintain as a list for some sort of items (e.g. products). On certain pages however, they do not want to show the entire table, but e.g. only items with a certain keyword in a column. That&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Some people have approached me with an idea like this one: They have a rather large table which they maintain as a list for some sort of items (e.g. products). On certain pages however, they do not want to show the entire table, but e.g. only items with a certain keyword in a column.</p>
<p>That&#8217;s the use case for which the following filtering extension can be used. It adds another parameter <code>filter</code> to the Shortcode that gets passed one or more search terms (connected with a logical operator):</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[table id=1 filter=&quot;word1&amp;&amp;word2&quot; /]</pre></div></div>



<p>Then, only those rows of the table are shown, that have columns that exactly match the search term(s). In the example, only rows where one column has the exact value &#8220;word1&#8243; and one column has the exact value &#8220;word2&#8243;, will be shown.<br />
<span id="more-842"></span></p>
<p><span style="color:#ff0000;font-weight:bold;">UPDATE</span> for WP-Table Reloaded 1.9: Please see the note below the code, regarding the deactivation of the <span style="color:#ff0000;font-weight:bold;">&#8220;Cache Table Output&#8221;</span> feature!</p>
<p>Let me start with some thanks first: This extension has been made possible by the kind donations or support of Peter Miller, Paulo Correia, PJ Scheufele, Wei-Ni Chong, and Sjoerd Jongerius. Thanks to all of them!</p>
<p>To get started with WP-Table Reloaded Extensions, you should <a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">read the introduction</a> and follow the included instructions. You will also find links to the other presented Extensions there.</p>
<p>Now lets come to the actual code of the Extension:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Show only rows that match the &quot;filter&quot; parameter value/contained logical expression
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_filter_rows<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$output_options</span><span style="color: #339933;">,</span> <span style="color: #000088;">$table_id</span><span style="color: #339933;">,</span> <span style="color: #000088;">$table</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// early exit if no &quot;filter&quot; parameter given</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'filter'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$output_options</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$filter</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'filter'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// from the Shortcode parameter &quot;filter&quot;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// &amp;#038;&amp;#038; is the passed value for &amp;&amp;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">!==</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$filter</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&amp;#038;&amp;#038;'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$compare</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'and'</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$filter</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'&amp;#038;&amp;#038;'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$filter</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elseif</span> <span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span> <span style="color: #339933;">!==</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$filter</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'||'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$compare</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'or'</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$filter</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'||'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$filter</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$compare</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'none'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// single filter word</span>
        <span style="color: #000088;">$filter</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$filter</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$filter</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$string</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;">// remove HTML entities and turn them into characters, escape/slash other characters</span>
        <span style="color: #000088;">$filter</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addslashes</span><span style="color: #009900;">&#40;</span> wp_specialchars_decode<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$string</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">ENT_QUOTES</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000088;">$row_match</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$table</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'data'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row_idx</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$row</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$row_idx</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'first_row_th'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span>
            <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$found</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$filter</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$string</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$found</span><span style="color: #009900;">&#91;</span> <span style="color: #000088;">$key</span> <span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$string</span><span style="color: #339933;">,</span> <span style="color: #000088;">$row</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$compare</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'none'</span><span style="color: #339933;">:</span>
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'or'</span><span style="color: #339933;">:</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #000088;">$found</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// at least one word was found / only filter word was found</span>
                    <span style="color: #000088;">$row_match</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">else</span>
                    <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hide_rows'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$row_idx</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
            <span style="color: #b1b100;">case</span> <span style="color: #0000ff;">'and'</span><span style="color: #339933;">:</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span> <span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span> <span style="color: #000088;">$found</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// if not (at least one word was *not* found) == all words were found</span>
                    <span style="color: #000088;">$row_match</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">else</span>
                    <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hide_rows'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$row_idx</span><span style="color: #339933;">;</span>
                <span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// if search term(s) was/were not found in any of the rows, all rows need to be hidden</span>
    <span style="color: #666666; font-style: italic;">// but only if first row is used as table head</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span> <span style="color: #000088;">$row_match</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'first_row_th'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$row_idx</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$output_options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hide_rows'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>string<span style="color: #009900;">&#41;</span><span style="color: #000088;">$row_idx</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$output_options</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * Add &quot;filter&quot; as a valid parameter to the [table] Shortcode
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_shortcode_parameter_filter<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$default_atts</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$default_atts</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'filter'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$default_atts</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * Register necessary Plugin Filters
 */</span>
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_table_reloaded_frontend_output_options'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_filter_rows'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">3</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_table_reloaded_shortcode_table_default_atts'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_shortcode_parameter_filter'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>The code form above just needs to be copied into the file &#8220;wp-table-reloaded-extensions.php&#8221;, created according to <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/extensions/">these instructions</a> (after the Plugin Header comment, but before the closing PHP bracket <code>?&gt;</code>).</p>
<p><span style="color:#ff0000;font-weight:bold;">ATTENTION:</span> One additional change is required (since WP-Table Reloaded 1.9): You must turn off the &#8220;Cache Table Output&#8221; feature in the &#8220;Table Styling Options&#8221; section on the &#8220;Edit&#8221; screen of the table! Otherwise you will get the same filtering result on all pages where the table is shown.</p>
<p>Then, just activate the new plugin &#8220;WP-Table Reloaded Extensions&#8221;, if you haven&#8217;t. That&#8217;s it! :-)</p>
<p>I commented the code so that it should be easy to understand, but here&#8217;s short walkthrough: The Extension hooks into the WP-Table Reloaded code to register a new Shortcode parameter <code>filter</code>. That is necessary so that the actual value passed with that argument is available to the actual filter algorithm. That algorithm starts with determining, what kind of filtering is wanted (&#8220;and&#8221;, &#8220;or&#8221;, or just one word). It then extracts the search term(s) and searches the row for them. Then the actual condition is checked, and if it is not fulfilled, the row will be marked as hidden from the output. There are some minor sanity checks around that (i.e. the first row needs to be treated differently or there needs to be a fallback, if all rows would be hidden), but basically that&#8217;s how the code works.</p>
<p>Here are a few examples that show the three possibilities for using it (remember that in all cases, exact matches to the cell content are required, i.e. if you search for &#8220;test&#8221;, but the cell content is &#8220;testing&#8221;, that will not match!):</p>
<p>Search for a single word in a row:</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[table id=1 filter=&quot;word1&quot; /]</pre></div></div>



<p>(All rows that do not have &#8220;word1&#8243; as the content of at least one cell will be hidden.)</p>
<p>Search for at least one word:</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[table id=1 filter=&quot;word1||word2&quot; /]</pre></div></div>



<p>(All rows that do not have either &#8220;word1&#8243; or &#8220;word2&#8243; as the content of cells will be hidden.)<br />
You can combine as many search terms with || as needed.</p>
<p>Search for all words:</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[table id=1 filter=&quot;word1&amp;&amp;word2&amp;&amp;word3&quot; /]</pre></div></div>



<p>(All rows that do not have &#8220;word1&#8243; and &#8220;word2&#8243; and &#8220;word3&#8243; as the content of cells will be hidden.)<br />
You can combine as many search terms with &#038;&#038; as needed.</p>
<p>Important: Mixing the logical operators is not possible though, i.e.</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[table id=1 filter=&quot;word1||word2&amp;&amp;word3&quot; /]</pre></div></div>



<p>will not work!</p>
<p>So, you are now able to only show the necessary parts of a large table :-)</p>
<p>If you like this series of Extensions, I&#8217;m happy about any feedback, and especially about further suggestions!</p>
<p>Previous posts in this series that might interest you:</p>
<ul>
<li><a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">Announcement and Foundation on Extensions</a></li>
<li><a href="http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/">Extension 1: Automatic URL to Links conversion</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/">Extension 2: Custom Name in the Admin Menu</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/">Extension 3: Changing the Table Shortcode</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/">Extension 4: Changing DataTables strings</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/">Extension 5: How to use PHP in table cells</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/03/extension-6-showing-only-rows-that-match-a-filter/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Extension 5: How to use PHP in table cells</title>
		<link>http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/</link>
		<comments>http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:23:11 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[Plugin Extension]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=829</guid>
		<description><![CDATA[This post in my WP-Table Reloaded Extension series should be very useful to a lot of people, taking into consideration the questions I receive on this. Using the code from below, you will extend WP-Table Reloaded so that PHP code in table cells will be parsed and executed. This is useful for dynamic content generation [...]]]></description>
			<content:encoded><![CDATA[<p>This post in my WP-Table Reloaded Extension series should be very useful to a lot of people, taking into consideration the questions I receive on this. Using the code from below, you will extend WP-Table Reloaded so that <a href="http://www.php.net/">PHP</a> code in table cells will be parsed and executed. This is useful for dynamic content generation or integration of other plugins&#8217; features.</p>
<p>To get started with WP-Table Reloaded Extensions, you should <a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">read the introduction</a> and follow the included instructions. You will also find links to the other presented Extensions there.<br />
<span id="more-829"></span></p>
<h4>Security Warning</h4>
<p>Before I start, let me explain, why you should only use this Extension, if you are really sure that you need it and if you really know what you are doing: PHP code is very mighty. Due to the structure of PHP and the HTTP request handling, code that is run from within the table lives in the same &#8220;area&#8221; as the WordPress (or plugin) PHP code and thus has the same rights and possibilities. However, it is not solely controlled by the admin as the plugin or WP core files usually are.<br />
This is especially critical if you have multiple users registered in your WordPress site: Anyone who can edit tables of WP-Table Reloaded will be able to insert (and with that cause execution of) PHP code. And with that, he can do a lot of bad things, if he wanted! What this means: If you want to use this Extension, make sure that only people who you trust can edit tables in WP-Table Reloaded (using the corresponding setting in the &#8220;Plugin Options&#8221;). Preferably this should be only admins of your site. Again: Treat this step seriously! Neither WP-Table Reloaded nor the Extension do any checks on whether a user has the right to insert PHP code! Again: If a user can edit tables, he will be able to enter any PHP code he wants! (Obviously, all of this is no problem, if you are the only registered person in your WordPress site.)</p>
<p><strong>I will not take any responsibility if this feature is misused!</strong></p>
<p>If you can, you should avoid using this Extension, i.e. by developing your own Shortcode (remember: Those also work in tables!) as you&#8217;ll have control of the underlaying PHP code and not the user who edits a table.</p>
<p>For the PHP developers: The Extension uses PHP&#8217;s <a href="http://www.php.net/eval">eval() function</a>. That function takes a string (in our case the cell content) and executes it as PHP. Due to the internal structure of WordPress Shortcodes, we need some output buffering around that function, so that any outputs will not be sent to the browser directly, but together with the output of the [table id=N /] Shortcode. (Take this into consideration before using the Extension, as output buffering on a large number of cells might slighty increase the time needed to render a table and the load on your webspace or <a href="http://www.webhostingsearch.com/dedicated-server.php">cheap dedicated server</a>*.)<br />
Additionally, on certain hosts, the <code>eval()</code> function might be disabled due to security reasons.</p>
<p>Now lets come to the actual code of the Extension:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Executes PHP code in table cells
 * @author Tobias Baethge
 * @see http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_execute_php_in_cells<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$cell_content</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">eval</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'?&gt;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$cell_content</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ob_get_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$output</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_table_reloaded_cell_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_execute_php_in_cells'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>The code form above just needs to be copied into the file &#8220;wp-table-reloaded-extensions.php&#8221;, created according to <a href="http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/extensions/">these instructions</a> (after the Plugin Header comment, but before the closing PHP bracket <code>?&gt;</code>). Then, just activate the new plugin &#8220;WP-Table Reloaded Extensions&#8221;, if you haven&#8217;t. That&#8217;s it! :-)</p>
<p>To use PHP in a table, you can now enter commands into your table cells. They have to be valid PHP syntax, including the opening and closing brackets (<code>&lt;?php</code> and <code>?&gt;</code>). In those commands, you can use the regular <code>echo</code> function to output text. Any text that is not within the brackets will be printed as-is.</p>
<p>If you like this series of Extensions, I&#8217;m happy about any feedback, and especially about further suggestions!</p>
<p>Previous posts in this series that might interest you:</p>
<ul>
<li><a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">Announcement and Foundation on Extensions</a></li>
<li><a href="http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/">Extension 1: Automatic URL to Links conversion</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/">Extension 2: Custom Name in the Admin Menu</a></li>
<li><a href="http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/">Extension 3: Changing the Table Shortcode</a></li>
<li><a href="http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/">Extension 4: Changing DataTables strings</a></li>
</ul>
<p><small>* Words from our friends at Webhostingsearch</small></p>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

