Описание
Вам нужно вставить таблицу на свою страницу или запись? Плагин WordPress Tables будет принимать ваши данные в формате CSV / JSON или непосредственно из таблицы MySQL и создавать таблицу интерактивных данных. С плагином WPTables вы можете легко создавать и управлять своими таблицами из админки WordPress. Просто вставьте шорткод в вашу страницу, статью или запись и всё готово! Наслаждайтесь вашей новой таблицей.
DEMO | SUPPORT | REVIEWS | WEBSITE
Основными функциями плагина WP Tables являются:
- Вставка данных с использованием мощного редактора электронных таблиц
- Импорт данных из файлов CSV и JSON
- Отображение данных непосредственно из базы данных MySQL: выбрав таблицу или написание пользовательских SQL запросов
- Изменение названий столбцов, порядка и видимости
- Форматирование чисел
- Сортировка по алфавиту и по числам
- Пагинация с параметрами
- Настраиваемая ширина и высота
- Экспорт созданной таблицы в файл CSV
- 6 предопределенных цветовых тем
- Поддержка шорткодов из других плагинов внутри таблицы
- Поддержка ссылок и изображений
After installing the plugin, tables are created in few very basic steps:
- Navigate to the `WPTables` menu in the WordPress administration dashboard
- Click `Add New Table` and enter a name for the new table
- Choose a data source format and insert your data (for example the CSV file)
- After importing the data, you can edit table fields and other options
- Copy and paste the generated shortcode into your page or post (you can also use a button in the WordPress text editor to insert a table)
Скриншоты
Часто задаваемые вопросы
- How to change table width/height?
-
Width of the table is 100% by default. Height is auto. But you can override these parameters by modifying a shortcode as following:
[wp_table id=»77″ width=»640px» height=»480px»] - How to format numbers?
-
You can define a custom number format for columns with type
Number
.
1. In the WordPress administration open the table for editing.
2. In the Fields section find the necessary field and make sure that the type isNumber
3. You will see the Formatting button next to the Type drop-down.
4. Set the desired format and clickApply
. - How to add currency symbol to values?
-
- In the WordPress administration open the table for editing.
- In the Fields section find the necessary field and make sure that the type is
Number
- You will see the Formatting button next to the Type drop-down.
- Add currency symbol to the format (i.e. ‘$0,0.00’).
- Click
Apply
.
- How to set link text?
-
With
Link
field type you can use Markdown syntax to set the link text.
Отзывы
Участники и разработчики
«WordPress Tables» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«WordPress Tables» переведён на 2 языка. Благодарим переводчиков за их работу.
Перевести «WordPress Tables» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
VERSION 1.3.9
- Added abitity to assign HTML ID to the table in the shortcode using
html_id
attribute. - Fixed the issue with exporting tables that are created using MySQL query.
- Fixed the issue with exporting tables that contain characters like Chinese or Korean.
- Fixed the issue with exporting column names insted of titles.
- WordPress 4.9.4 support.
VERSION 1.3.8
- Fixed the issue with MySQL when correct (but empty) query results «Invalid query. Please check the syntax and try again.» error.
VERSION 1.3.7
- Added support for variables in the MySQL queries.
VERSION 1.3.6
- Allow Editors to access WPTables.
- WordPress 4.9.2 support.
VERSION 1.3.5
- Fixed the issue when table appears at the top of the page.
- Added compatibility with LABJS.
- Added compatibility with shortcodes plugins.
VERSION 1.3.4
- Fixed the issue when jQuery is loaded in the footer.
VERSION 1.3.3
- Fixed the issue with MySQL queries.
- Fixed the issue with removing rows.
VERSION 1.3.2
- Added support for custom MySQL queries.
VERSION 1.3.1
- Fixed horizontal alignment.
- Fixed mixing up tables with other post types.
- Fixed the issue with Unicode symbols.
VERSION 1.3.0
- Brand new admin UI with drag’n’drop file import and much more.
- Brand new powerful data editor for imported files, including CSV and JSON.
- Support of importing JSON data.
- Improved CSV parsing.
- Adding/removing new columns.
- Search and bulk actions for created tables.
- Cloning tables.
VERSION 1.2.10
- Improved MySQL support: now it is possible to load data from any database that is available for the DB user, not only WP tables.
- WordPress 4.9 support.
VERSION 1.2.9
- Fix fatal error on PHP < 5.5.
VERSION 1.2.8
- Added support for custom currency symbols in number formatting.
- Fixed the issue with saving table updates.
VERSION 1.2.7
- Fixed compatibility with FancyBox library prior version 3.
VERSION 1.2.6
- Fixed the issue with adding new table using CSV/MySQL.
VERSION 1.2.5
- Added support for custom number format (decimal places, thousand separator, currency symbol, percent, etc.).
- Added support for links inside the table.
VERSION 1.2.4
- Added support for shortcodes inside the table.
- Fixed issue with missing sort icons.
VERSION 1.2.3
- Added support for Unicode characters.
- Fixed issue with an apostrophe (‘).
VERSION 1.2.2
Fixed CSV parsing with dots in column names.
VERSION 1.2.1
Fixed editing HTML-like data.
VERSION 1.2.0
Added 6 predefined color themes.
VERSION 1.1.0
Added a «manual» mode for creating tables. It is possible now to edit the data in a spreadsheet-like interface.
VERSION 1.0.1
Added help and about sections.
VERSION 1.0.0
Initial version where most features are ready and pretty stable.