CSV to html CSV to html

CSV to html

Created by: Wibergs Web

Rating:
Downloaded: 26k times

CSV to html is a highly configurable plugin that makes it easy to fetch content from file(s) (.csv,.xlsx, .json and .ods) and put content from that file/those files and display the html(table) on a page with a single shortcode. If using more then one file, content from all files are mixed into one single table instead of creating two tables.

The plugin fetches the actual content directly from the file(s) without having to import/export any file(s) manually. So any changes in the file(s) will be updated when you view your table(s). CSV to HTML is able to fetch both local and external files.

Get started with the plugin by moving on to the Installation tab. There’s a 4 step guide how you could start using the plugin. Good luck!

Screenshots

  • Screenshot - file structure with folder nordic in upload-folder
  • Screenshot - [csvtohtml_create path="nordic" source_files="denmark" source_type="guess" debug_mode="no"] OR [csvtohtml_create path="nordic" source_files="denmark.csv" source_type="guess" debug_mode="no"]
  • Screenshot - [csvtohtml_create path="nordic" source_files="*.csv" source_type="guess" debug_mode="no"]
  • Screenshot - [csvtohtml_create path="nordic" source_files="*.csv" source_type="guess" debug_mode="no" filter_data="2010" filter_col="1"]
  • Screenshot - [csvtohtml_create path="nordic" source_files="denmark;iceland" source_type="guess" debug_mode="no"]
  • Screenshot - [csvtohtml_create path="nordic" source_files="denmark;iceland" source_type="guess" debug_mode="no"] with css.
<strong>CSS</strong>
.csvtohtml tr.rowset-7 .colset-2 {
background: #27b399;
color: #fff;
font-weight:600;
}
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;denmark;iceland&quot; source_type=&quot;guess&quot; title=&quot;Nordic growth&quot; debug_mode=&quot;no&quot;]
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;denmark&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;2&quot; sort_cols_order=&quot;asc&quot;] AND [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;iceland&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1,2&quot; sort_cols_order=&quot;desc,asc&quot;]
  • <p>Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot;]
<strong>original csv (nordic.csv):</strong>
,Finland,Iceland,Denmark
2013,&quot;10.2%&quot;,&quot;7.2%&quot;,&quot;1.4%&quot;
2014,&quot;11.0%&quot;,&quot;11.0%&quot;,&quot;1.9%&quot;
2010,&quot;2.5%&quot;,&quot;2.3%&quot;,&quot;2.8%&quot;
2011,&quot;-16.6%&quot;,&quot;6.6%&quot;,&quot;-6.6%&quot;
2012,&quot;-14.2%&quot;,&quot;6.2%&quot;,&quot;1.2%&quot;
2015,&quot;13.2%&quot;,&quot;16.2%&quot;,&quot;2.0%&quot;</p>
  • <p>Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; exclude_cols=&quot;3&quot;]</p>
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; exclude_cols=&quot;2,4&quot;]
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; include_cols=&quot;1,3-4&quot;]
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; include_cols=&quot;1,3-4&quot; fetch_lastheaders=&quot;2&quot;]
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; table_in_cell_cols=&quot;2,3,4&quot;]
  • Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; table_in_cell_cols=&quot;2,3,4&quot; include_cols=&quot;1&quot; table_in_cell_header=&quot;Countries&quot;]
  • <p>Screenshot - [csvtohtml_create path=&quot;nordic&quot; source_files=&quot;nordic.csv&quot; source_type=&quot;guess&quot; debug_mode=&quot;no&quot; sort_cols=&quot;1&quot; sort_cols_order=&quot;asc&quot; title=&quot;Year&quot; table_in_cell_cols=&quot;2,3,4&quot; include_cols=&quot;1&quot; table_in_cell_header=&quot;Countries&quot;]
<strong>CSS</strong>
.csvtohtml .extra-data::before {content: &quot;Hover here for more info&quot;;}
.csvtohtml .extra-data table {visibility:hidden;}
.csvtohtml .extra-data:hover table {visibility:visible;}</p>
  • <p>Screenshot - Same as 16 but when hovered on a specific row(year)</p>

Categories

Get New Themes & Resources