CSV To Html Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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.
CSS
.csvtohtml tr.rowset-7 .colset-2 {
background: #27b399;
color: #fff;
font-weight:600;
} -
Screenshot – [csvtohtml_create path="nordic" source_files="denmark;iceland" source_type="guess" title="Nordic growth" debug_mode="no"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="denmark" source_type="guess" debug_mode="no" sort_cols="2" sort_cols_order="asc"] AND [csvtohtml_create path="nordic" source_files="iceland" source_type="guess" debug_mode="no" sort_cols="1,2" sort_cols_order="desc,asc"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year"]
original csv (nordic.csv):
,Finland,Iceland,Denmark
2013,"10.2%","7.2%","1.4%"
2014,"11.0%","11.0%","1.9%"
2010,"2.5%","2.3%","2.8%"
2011,"-16.6%","6.6%","-6.6%"
2012,"-14.2%","6.2%","1.2%"
2015,"13.2%","16.2%","2.0%" -
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" exclude_cols="3"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" exclude_cols="2,4"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" include_cols="1,3-4"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" include_cols="1,3-4" fetch_lastheaders="2"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" table_in_cell_cols="2,3,4"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" table_in_cell_cols="2,3,4" include_cols="1" table_in_cell_header="Countries"]
-
Screenshot – [csvtohtml_create path="nordic" source_files="nordic.csv" source_type="guess" debug_mode="no" sort_cols="1" sort_cols_order="asc" title="Year" table_in_cell_cols="2,3,4" include_cols="1" table_in_cell_header="Countries"]
CSS
.csvtohtml .extra-data::before {content: "Hover here for more info";}
.csvtohtml .extra-data table {visibility:hidden;}
.csvtohtml .extra-data:hover table {visibility:visible;} -
Screenshot – Same as 16 but when hovered on a specific row(year)