{"id":183759,"date":"2024-02-17T08:19:37","date_gmt":"2024-02-17T08:19:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/compare-table\/"},"modified":"2026-06-27T12:54:01","modified_gmt":"2026-06-27T12:54:01","slug":"compare-table","status":"publish","type":"plugin","link":"https:\/\/rhg.wordpress.org\/plugins\/compare-table\/","author":17247799,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.3","stable_tag":"2.0.3","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Compare table","header_author":"Joeri van Veen","header_description":"Creates a table where a visitor can compare services or items or anything really, that you provide from the admin interface.","assets_banners_color":"ffffff","last_updated":"2026-06-27 12:54:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=hallo@ruigehond.nl&lc=US&item_name=Compare+table&no_note=0&cn=&currency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted","header_plugin_uri":"https:\/\/github.com\/joerivanveen\/compare-table","header_author_uri":"https:\/\/wp-developer.eu","rating":3,"author_block_rating":0,"active_installs":0,"downloads":1600,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.17":{"tag":"1.0.17","author":"ruigehond","date":"2024-02-17 08:19:13"},"1.1.0":{"tag":"1.1.0","author":"ruigehond","date":"2024-11-04 13:08:53"},"2.0.0":{"tag":"2.0.0","author":"ruigehond","date":"2025-01-24 10:55:40"},"2.0.1":{"tag":"2.0.1","author":"ruigehond","date":"2025-01-24 11:18:46"},"2.0.2":{"tag":"2.0.2","author":"ruigehond","date":"2026-05-20 19:37:38"},"2.0.3":{"tag":"2.0.3","author":"ruigehond","date":"2026-06-27 12:54:01"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3037065,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3037065,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3037065,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3037065,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.17","1.1.0","2.0.0","2.0.1","2.0.2","2.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3227982,"resolution":"1","location":"assets","locale":"","width":2344,"height":1704},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3227982,"resolution":"2","location":"assets","locale":"","width":2344,"height":1704},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3227982,"resolution":"3","location":"assets","locale":"","width":2344,"height":1704},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3227982,"resolution":"4","location":"assets","locale":"","width":2344,"height":1704}},"screenshots":{"1":"<p>Compare table for a visitor.<\/p>","2":"<p>Compare table settings with Subject(s) and Field(s).<\/p>","3":"<p>Provide values for a Subject (or a Field).<\/p>","4":"<p>General settings.<\/p>"}},"plugin_section":[],"plugin_tags":[4352,451,9078,4959,2289],"plugin_category":[],"plugin_contributors":[172862],"plugin_business_model":[],"class_list":["post-183759","plugin","type-plugin","status-publish","hentry","plugin_tags-compare","plugin_tags-interactive","plugin_tags-items","plugin_tags-services","plugin_tags-table","plugin_contributors-ruigehond","plugin_committers-ruigehond"],"banners":{"banner":"https:\/\/ps.w.org\/compare-table\/assets\/banner-772x250.png?rev=3037065","banner_2x":"https:\/\/ps.w.org\/compare-table\/assets\/banner-1544x500.png?rev=3037065","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/compare-table\/assets\/icon-128x128.png?rev=3037065","icon_2x":"https:\/\/ps.w.org\/compare-table\/assets\/icon-256x256.png?rev=3037065","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/compare-table\/assets\/screenshot-1.png?rev=3227982","caption":"<p>Compare table for a visitor.<\/p>"},{"src":"https:\/\/ps.w.org\/compare-table\/assets\/screenshot-2.png?rev=3227982","caption":"<p>Compare table settings with Subject(s) and Field(s).<\/p>"},{"src":"https:\/\/ps.w.org\/compare-table\/assets\/screenshot-3.png?rev=3227982","caption":"<p>Provide values for a Subject (or a Field).<\/p>"},{"src":"https:\/\/ps.w.org\/compare-table\/assets\/screenshot-4.png?rev=3227982","caption":"<p>General settings.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Your visitors can easily compare services, products or anything else with the tables you create with this compare-table plugin.<\/p>\n\n<p>In your dashboard create as many tables as you want. Each table has <em>subjects<\/em> (the entities that are being compared) and <em>fields<\/em> (the properties the entities can be compared on).<\/p>\n\n<p>You can order the subjects and fields in any way you want. You can also add a description to each field, which will be shown when a visitor hovers over the field name.<\/p>\n\n<p>Set the initial view of each table (how many columns, which subjects) which the visitor can change with select lists.\nThe subjects appear in the order you have put them in the dashboard, but you can also pre-select different columns in the query string when you link to a table, like so:<\/p>\n\n<pre><code>https:\/\/wp-developer.eu\/child-page\/?compare-table-column-0=35%20mm&amp;compare-table-column-1=50%20mm&amp;compare-table-column-2=400%20mm\n<\/code><\/pre>\n\n<p>Column indexes are 0-based, so the query string parameter 'compare-table-column-0' must contain the subject for the first column. This currently only works with one table on the page.<\/p>\n\n<p>Everything is nicely formatted by default, albeit a bit bland. You can easily override the css with your own, should you want to.<\/p>\n\n<p>The table works fine with touch devices as well. On mobile devices the width is automatically restricted to two columns.<\/p>\n\n<p>Show a compare-table anywhere by using the shortcode <code>[compare-table]<\/code> (which will show the first table).\nTo show a specific table that is not the first one, you can provide its id (the <code>type_id<\/code> in the querystring) or title, like so:\n- <code>[compare-table type=1]<\/code> the id must be the type_id in the querystring when you edit this table\n- <code>[compare-table type=\"my table\"]<\/code> this must be the exact title you gave your table<\/p>\n\n<p>Note: providing the id is slightly faster.<\/p>\n\n<p>The plugin adds 4 tables to your database. For each compare-table there are two highly optimized queries executed.<\/p>\n\n<p>Enjoy the plugin! Let me know if you have any questions.<\/p>\n\n<!--section=installation-->\n<p>Install the plugin by clicking \u2018Install now\u2019 below, or the \u2018Download\u2019 button, and put the <code>compare-table<\/code> folder in your <code>plugins<\/code> folder. Don\u2019t forget to activate it.<\/p>\n\n<!--section=changelog-->\n<p>2.0.3: update doc and honor admin theme colors<\/p>\n\n<p>2.0.2: fix keep number of columns constant<\/p>\n\n<p>2.0.1: allow ajax fetch table<\/p>\n\n<p>1.1.0: restore wp delete links<\/p>\n\n<p>1.0.17: release<\/p>","raw_excerpt":"Creates a table where a visitor can compare services or items or anything really, that you provide from the admin interface.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/183759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=183759"}],"author":[{"embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ruigehond"}],"wp:attachment":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=183759"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=183759"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=183759"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=183759"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=183759"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=183759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}