-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
120 lines (73 loc) · 3.55 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
=== KPS Interview - WordPress Plugin with Custom Post Type and Custom Fields and Custom Admin Columns and Bulk Import ===
Contributors: shriramsoft
Donate link: https://www.paypal.com/paypalme/DevenSitapara
Tags: kps-interview, custom fields, custom post types, admin columns, bulk import
Requires at least: 4.3
Requires PHP: 5.3
Tested up to: 5.4.2
Stable tag: 5.3.3
License: GPLv2 or later
KPS Interview plugin is a powerful, professional developer sample example
to create plugin with custom types, fields and columns with bulk import for WordPress.
== Description ==
I was given following task, which is mentioned bellow.
WordPress Task for GKB Labs Interview
Create a plugin with the following features
Admin section
a) Add an option in settings menu called demo-plugin with submenu options 1) create user 2) import users 3) list users
Create-users page:
First Name (Text Box)
Last Name (Text Box)
Email (Text Box)
Hobbies (checkbox) with option TV, Reading, coding, skiing
Gender (Radio) with options Male, Female
Upload picture (add WordPress media upload option )
Submit and Cancel buttons
Upon Submit save data into Database
3. Import users:
Provide an option to import users data from a CSV (CSV will contain above fields, first name or last name and email are mandatory )
Upon import CSV, report (display on the screen) how many were successfully imported and how many were failed
4. List Users:
List all users with pagination
Provider options to edit, delete
5) Upload code into GitHub and share the link ( you may create an account if you don’t have one )
6. Find out a free hosting and upload your code as a demo (very helpful for evaluating the task )
Most importantly, plugin should follow all WordPress coding standards, and it should be export as zip and import as a plugin in other WordPress sites. The plugin should contain the SQL file required to store the user’s data and auto-execute SQL when plugin activated.
#### It's developer-friendly
As a developer, you have enough on your plate. You shouldn't have to create an entirely new system for each project. Use KPS Interview to your full advantage.
You can use KPS Interview and its custom fields in WordPress on as many websites as you want so you can use it on client projects as well.
== Installation ==
From within WordPress
1. Visit **Plugins > Add New**
1. Search for **KPS Interview**
1. Click the **Install Now** button to install the plugin
1. Click the **Activate** button to activate the plugin
Manually
1. Unzip the download package
1. Upload `kps-interview` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
To getting started with the plugin, please read the [Quick Start Guide](https://docs.metabox.io/quick-start/).
== Frequently Asked Questions ==
1. How to install ?
Please check bellow screenshots.
== Screenshots ==
1. Plugin page
![Alt text](screenshots/plugin-page.png)
2. List Candidates
![Alt text](screenshots/list-candidates.png)
3. Add Candidate
![Alt text](screenshots/add-candidate.png)
4. CSV Sample
![Alt text](screenshots/csv-sample.png)
5. Import Step1
![Alt text](screenshots/import-step1.png)
6. Import Step2
![Alt text](screenshots/import-step2.png)
7. Import Step3
![Alt text](screenshots/import-step3.png)
== Changelog ==
= 1.0 =
- KPS Plugin can Add Candidate First Name, Last Name, Email, Gender , Hobbies
- Can Bulk Import.
== Upgrade Notice ==
Since version 5.0.0, the plugin requires PHP >= 5.3. If you use an older PHP version, please ask your host to upgrade or use an older version of KPS Interview.