<?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>Fri, 02 Jul 2010 20:26:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<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>25</slash:comments>
		</item>
		<item>
		<title>Extension 7: Textfield widths on the &#8220;Edit&#8221; 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>17</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>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>). 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>27</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 server.)<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>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/02/extension-5-how-to-use-php-in-table-cells/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Extension 4: Changing DataTables strings</title>
		<link>http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/</link>
		<comments>http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 19:24:03 +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=822</guid>
		<description><![CDATA[In this post of the WP-Table Reloaded Extensions series, I&#8217;ll show you a way to easily change the strings that the DataTables JavaScript library outputs around a table. This includes things like the &#8220;Search:&#8221;, &#8220;Showing i to j of n entries&#8221; and the other text strings. To get started with WP-Table Reloaded Extensions, you should [...]]]></description>
			<content:encoded><![CDATA[<p>In this post of the WP-Table Reloaded Extensions series, I&#8217;ll show you a way to easily change the strings that the DataTables JavaScript library outputs around a table. This includes things like the &#8220;Search:&#8221;, &#8220;Showing i to j of n entries&#8221; and the other text strings.</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-822"></span></p>
<p>Several people have approached me, asking how to change the &#8220;Search:&#8221; to &#8220;Filter:&#8221;, &#8220;Live Search:&#8221;, or other similar texts.<br />
Those strings are all stored in a file that at the same time serves as the localization method for those strings, i.e. English and the other languages&#8217; texts are simply stored in different files and only the needed one is loaded, depending on the locale that is used for WordPress. The files are all located in the &#8220;datatables&#8221; subfolder of the &#8220;languages&#8221; folder in the WP-Table Reloaded plugin folder.</p>
<p>Thus, changing strings is very similar to translating them to a new language: Find the file for your language in the mentioned folder and copy it to your theme&#8217;s folder (or another publicly available location on your server). This step will ensure that your changes will still be there after an update of the plugin. If you just change strings in the mentioned file, those changes will be gone after an update!</p>
<p>The file looks similar to this (this is the English file):</p>


<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#123;</span>
	<span style="color: #3366CC;">&quot;sProcessing&quot;</span><span style="color: #339933;">:</span>   <span style="color: #3366CC;">&quot;Processing...&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sLengthMenu&quot;</span><span style="color: #339933;">:</span>   <span style="color: #3366CC;">&quot;Show _MENU_ entries&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sZeroRecords&quot;</span><span style="color: #339933;">:</span>  <span style="color: #3366CC;">&quot;No matching records found&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfo&quot;</span><span style="color: #339933;">:</span>         <span style="color: #3366CC;">&quot;Showing _START_ to _END_ of _TOTAL_ entries&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoEmpty&quot;</span><span style="color: #339933;">:</span>    <span style="color: #3366CC;">&quot;Showing 0 to 0 of 0 entries&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoFiltered&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;(filtered from _MAX_ total entries)&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoPostFix&quot;</span><span style="color: #339933;">:</span>  <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sSearch&quot;</span><span style="color: #339933;">:</span>       <span style="color: #3366CC;">&quot;Search:&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sUrl&quot;</span><span style="color: #339933;">:</span>          <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;oPaginate&quot;</span><span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #3366CC;">&quot;sFirst&quot;</span><span style="color: #339933;">:</span>    <span style="color: #3366CC;">&quot;First&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sPrevious&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Previous&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sNext&quot;</span><span style="color: #339933;">:</span>     <span style="color: #3366CC;">&quot;Next&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sLast&quot;</span><span style="color: #339933;">:</span>     <span style="color: #3366CC;">&quot;Last&quot;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>



<p>You can change any string that is on the right side of a colon (:). Make sure to not remove any of the quotation marks. Also, you can not use quotation marks in your changed strings! The words that are surrounded by an underscore (_) are placeholders for the numbers or input fields that are automatically added by the DataTables script. You must not alter those (you can however put them in a new place within the string).</p>
<p>This is an example of a file with changed string:</p>


<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#123;</span>
	<span style="color: #3366CC;">&quot;sProcessing&quot;</span><span style="color: #339933;">:</span>   <span style="color: #3366CC;">&quot;Please wait...&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sLengthMenu&quot;</span><span style="color: #339933;">:</span>   <span style="color: #3366CC;">&quot;Show _MENU_ rows&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sZeroRecords&quot;</span><span style="color: #339933;">:</span>  <span style="color: #3366CC;">&quot;No matching rows found in the table&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfo&quot;</span><span style="color: #339933;">:</span>         <span style="color: #3366CC;">&quot;Showing _START_ to _END_ of _TOTAL_ rows&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoEmpty&quot;</span><span style="color: #339933;">:</span>    <span style="color: #3366CC;">&quot;Showing 0 to 0 of 0 rows&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoFiltered&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;(found from _MAX_ total entries)&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sInfoPostFix&quot;</span><span style="color: #339933;">:</span>  <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sSearch&quot;</span><span style="color: #339933;">:</span>       <span style="color: #3366CC;">&quot;Live Filter:&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;sUrl&quot;</span><span style="color: #339933;">:</span>          <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;oPaginate&quot;</span><span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #3366CC;">&quot;sFirst&quot;</span><span style="color: #339933;">:</span>    <span style="color: #3366CC;">&quot;First&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sPrevious&quot;</span><span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;Previous&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sNext&quot;</span><span style="color: #339933;">:</span>     <span style="color: #3366CC;">&quot;Next&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #3366CC;">&quot;sLast&quot;</span><span style="color: #339933;">:</span>     <span style="color: #3366CC;">&quot;Last&quot;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>



<p>After making your changes, again make sure to have the file stored in your theme&#8217;s folder. You might want to use a more recognizable filename, like &#8220;datatables.txt&#8221; which I will use here.</p>
<p>It will then have a URL like <code>http://www.example.com/wp-content/your-theme/datatables.txt</code>. (You will need this URL, adjusted to your site, in the next step.)</p>
<p>After creating the file with the changed strings, we need to tell WP-Table Reloaded (i.e. the DataTables library) to use the file for obtaining the strings:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Changes the file used for the DataTables strings to a different file (i.e. with changed strings)
 * @author Tobias Baethge
 * @see http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_change_datatables_language_file_url<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$language_file_url</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'http://www.example.com/wp-content/your-theme/datatables.txt'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// change this to the corresponding URL on your server</span>
<span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'wp_table_reloaded_url_datatables_language_file'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_change_datatables_language_file_url'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>Just replace the URL in this function with the URL to your file and the strings of the DataTables library will be taken from the file.</p>
<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>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>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/02/extension-4-changing-datatables-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maintenance release: WP-Table Reloaded 1.6.1</title>
		<link>http://tobias.baethge.com/2010/01/maintenance-release-wp-table-reloaded-1-6-1/</link>
		<comments>http://tobias.baethge.com/2010/01/maintenance-release-wp-table-reloaded-1-6-1/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 18:17:05 +0000</pubDate>
		<dc:creator>Tobias</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://tobias.baethge.com/?p=806</guid>
		<description><![CDATA[English plugin page&#160;&#160;&#160;&#160;&#160; deutsche Plugin-Seite Thanks to some great feedback of several plugin users, I was able to fix some bugs and add a few enhancements to WP-Table Reloaded 1.6.1, which is now available. Changes include: enhancement: let WP Search also search table name and description enhancement: replacing a table during an import will leave [...]]]></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>Thanks to some great feedback of several plugin users, I was able to fix some bugs and add a few enhancements to WP-Table Reloaded 1.6.1, which is now available.</p>
<p>Changes include:</p>
<ul>
<li>enhancement: let WP Search also search table name and description</li>
<li>enhancement: replacing a table during an import will leave options untouched and only replace table data</li>
<li>bugfix: better fix for DataTables invisibility issue in IE 7</li>
<li>enhancement: add 3 new plugin filters for frontend</li>
<li>bugfix: fix for problem with search, if data is empty somehow</li>
</ul>
<p>Your WordPress will offer an automatic update to the latest version soon. Otherwise, you can download WP-Table Reloaded 1.6.1 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/2010/01/maintenance-release-wp-table-reloaded-1-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extension 3: Changing the Table Shortcode</title>
		<link>http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/</link>
		<comments>http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 17:06:29 +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=793</guid>
		<description><![CDATA[My second Extension to WP-Table Reloaded was actually pretty short and simple, so I decided to present another short one to make up for that :-) So, here you will see how you can change the used Shortcode from [] to e.g. [data id=1 /] or [ranking id=1 /]. To get started with WP-Table Reloaded [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/">second Extension</a> to WP-Table Reloaded was actually pretty short and simple, so I decided to present another short one to make up for that :-) So, here you will see how you can change the used Shortcode from <code>[table id=1 /]</code> to e.g. <code>[data id=1 /]</code> or <code>[ranking id=1 /]</code>.</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-793"></span></p>
<p>Changing the name of the used Shortcode could be useful for several use cases:</p>
<ul>
<li>You want it to be in your native language (i.e. for German: <code>Tabelle</code> instead of <code>table</code>).</li>
<li>You are already (or want to) use the <code>table</code> for something else.</li>
<li>Your generated tables resemble something specific, i.e. a set of <code>data</code>, or a <code>ranking</code>.</li>
<li>&#8230;</li>
</ul>
<p>And it really is simple! All you need is this code:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Changes Shortcode for WP-Table Reloaded from [table id=N /] to [[ranking id=N /]]
 * @author Tobias Baethge
 * @see http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_change_table_shortcode<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$shortcode</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'ranking'</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_shortcode_table'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_change_table_shortcode'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>The code will change the Shortcode from [table id=1 /] to [[ranking id=1 /]]. Of course you can change &#8216;ranking&#8217; to anything you like in the code above!</p>
<p>This 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>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/01/extension-3-changing-the-table-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extension 2: Custom Name in the Admin Menu</title>
		<link>http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/</link>
		<comments>http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 10:35:27 +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=647</guid>
		<description><![CDATA[In my second post of the series on WP-Table Reloaded Extensions, I will show you a way to change the name of the plugin in the WP Admin Menu. Remember, Extensions are small code snippets that customize or extend the functionality of WP-Table Reloaded, by using the many &#8220;Plugin Hooks&#8221;. To get started, you should [...]]]></description>
			<content:encoded><![CDATA[<p>In my second post of the series on WP-Table Reloaded Extensions, I will show you a way to change the name of the plugin in the WP Admin Menu.</p>
<p>Remember, Extensions are small code snippets that customize or extend the functionality of WP-Table Reloaded, by using the many &#8220;Plugin Hooks&#8221;. To get started, you should <a href="http://tobias.baethge.com/2009/12/introducing-wp-table-reloaded-extensions/">read the introduction</a> on WP-Table Reloaded Extensions and follow the included instructions to set up the foundation. I also recommend reading the first post of this series, where I add an <a href="http://tobias.baethge.com/2009/12/extension-1-url-to-link-conversion/">Automatic Converter for URLs to Links</a>. You don&#8217;t need the code from there, but it might be helpful to better understand the concept.<br />
<span id="more-647"></span></p>
<p>In this post, I will show you how to change the name of the plugin in the WP Admin Menu. The default value is &#8220;WP-Table Reloaded&#8221; which might not be easy to recognize by clients or people using WordPress as a CMS. To better show, what I&#8217;m talking about: Here are two screenshots, one before activating the Extension and one after activating it.</p>
<p><img src="http://tobias.baethge.com/wp-content/uploads/2010/01/admin-menu.png" alt="Screenshot of the old and new entries in the WP Admin Menu" title="Screenshot of the old and new entries in the WP Admin Menu" width="337" height="130" class="alignnone size-full wp-image-759" /></p>
<p>The menu entry was changed from &#8220;WP-Table Reloaded&#8221; to &#8220;Tables&#8221;. (Remember that you can also move that entry to another parent entry with the corresponding admin option in the &#8220;Plugin Options&#8221; of WP-Table Reloaded.)</p>
<p>And here is the code:</p>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/**
 * Changes the WP Admin Menu entry from &quot;WP-Table Reloaded&quot; to &quot;Tables&quot;
 * @author Tobias Baethge
 * @see http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> wp_table_reloaded_admin_menu_entry<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$name</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'Tables'</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_plugin_display_name'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_table_reloaded_admin_menu_entry'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>



<p>This code just needs to be copied into the file &#8220;wp-table-reloaded-extensions.php&#8221;, which needs to be 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;. 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>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tobias.baethge.com/2010/01/extension-2-custom-name-in-the-menu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
