-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.txt
100 lines (66 loc) · 2.74 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
=== WP Excel CMS ===
Contributors: webteilchen
Donate link: http://webteilchen.de
Tags: excel, import, wp excel cms, xls, xlsx, json, excel import
Requires at least: 3.5.1
Tested up to: 4.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Simple Plugin to import Excel (xlsx) files to Wordpress and use the Data in your theme.
No Database entries are created.
* !!! Only *.xlsx files are supported !!! *
== Description ==
Simple plugin to import excel files (.xlsx only) to Wordpress and use the data in your theme. No database entries are created. All file & json based. You can use as many excel files on one page as you want.
For example, if you have a guestlist in excel and you want to show it in a special style on your website, you can easily upload the excel file in your admin interface an then use `wp_excel_cms_get("guestlist");` to get the structured data in your template.
If you want to use the Table in your post or page, you can use the Shortcode [wp_excel_cms name="guestlist" sheet="1"] .
The string "guestlist" have to be replaced by your given excel file name.
*Short Code*
`
[wp_excel_cms name="guestlist"]
`
*Example Usage in Theme:*
`
<?php $data = wp_excel_cms_get("guestlist"); ?>
<?php foreach($data as $entry): ?>
column 1: <?php echo $entry[0]; ?><br />
column 2: <?php echo $entry[1]; ?><br />
column 3: <?php echo $entry[2]; ?><br />
<hr />
<?php endforeach; ?>
`
I hope you enjoy this plugin. Give me feedback to improve it.
== Installation ==
= Using The WordPress Dashboard =
1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'wp-excel-import'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard
= Uploading in WordPress Dashboard =
1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `wp-excel-cms.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard
= Using FTP =
1. Download `wp-excel-import.zip`
2. Extract the `wp-excel-import` directory to your computer
3. Upload the `wp-excel-import` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard
== Frequently Asked Questions ==
== Screenshots ==
1. Admin Panel screenshot-1.(png)
== Changelog ==
= 1.0 =
* Inital Version
= 1.0.1 =
* Fix: Upload Folder will be created automatically
= 1.0.2 =
* New Feature: Shortcodes: [wp_excel_cms name="guestlist"]
= 1.0.3 =
* New Feature: You can now access sheets from your excel file: [wp_excel_cms name="guestlist" sheet="2"]
= 1.0.4 =
* Added support for multi word slugs
= 1.0.5 =
* Removed support for multi word slugs
== Donations ==