A few weeks ago, I was approached with a question on whether it is possible to make the textfields on the “Edit” 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.
» Read more: Extension 7: Textfield widths on the “Edit” page
Posts Tagged ‘extension’
Extension 7: Textfield widths on the “Edit” page
March 26th, 2010Extension 6: Showing only rows that match a filter
March 4th, 2010Some 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’s the use case for which the following filtering extension can be used. It adds another parameter filter to the Shortcode that gets passed one or more search terms (connected with a logical operator):
[table id=1 filter="word1&&word2" /]
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 “word1″ and one column has the exact value “word2″, will be shown.
» Read more: Extension 6: Showing only rows that match a filter
Extension 5: How to use PHP in table cells
February 14th, 2010This 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 or integration of other plugins’ features.
To get started with WP-Table Reloaded Extensions, you should read the introduction and follow the included instructions. You will also find links to the other presented Extensions there.
» Read more: Extension 5: How to use PHP in table cells
Extension 4: Changing DataTables strings
February 9th, 2010In this post of the WP-Table Reloaded Extensions series, I’ll show you a way to easily change the strings that the DataTables JavaScript library outputs around a table. This includes things like the “Search:”, “Showing i to j of n entries” and the other text strings.
To get started with WP-Table Reloaded Extensions, you should read the introduction and follow the included instructions. You will also find links to the other presented Extensions there.
» Read more: Extension 4: Changing DataTables strings
Extension 3: Changing the Table Shortcode
January 23rd, 2010My 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 [table id=1 /] to e.g. [data id=1 /] or [ranking id=1 /].
To get started with WP-Table Reloaded Extensions, you should read the introduction and follow the included instructions. You will also find links to the other presented Extensions there.
» Read more: Extension 3: Changing the Table Shortcode

