Description
Responsive tables by given css selectors.
Installation
Install it as normal.
Usage
output tables as following:
产品参数
货号
形状
重量
颜色
切工
抛光
对称
荧光
证书
c128
祖母绿
0.82
G
GD
VG
VG
Faint
统包货
货号1
形状1
重量1
颜色1
切工2
抛光3
对称3
荧光3
证书3
c128
祖母绿
0.82
G
GD
VG
VG
Faint
统包货
Add table selectors
Type your table selectors directly in the following method:
public static function get_table_selectors(){
$r = array(
'#tab-description table#aaa',
'#tab-description table#sss',
);
return apply_filters('coolwp_responsive_table_selectors', $r );
}
Load your table selectors by using the filter hook coolwp_responsive_table_selectors
.
Tips
It works fine when wp_is_mobile()
return true
by default, you can use hook coolwp_responsive_table_enabled
filter it.
FAQ
- It does not work?
-
- You should tell it selectors of your tables!
- It’s working for mobile devices and tablets.
- Your table is missing some elements.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“WP Responsive Tables” is open source software. The following people have contributed to this plugin.
Contributors“WP Responsive Tables” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “WP Responsive Tables” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- initial release.