Skip to main content
  1. All Posts/

WP_Project_Management_Tool

Tools Open Source PHP WordPress

WP_Project_Management_Tool

A web application using the WordPress CMS, written in HTML, CSS, PHP, Javascript and jQuery that allows users to manage projects/tasks, clients, employees, and timesheets. It’s as easy as installing a theme!

Initial Setup (after setting up your database and installing WordPress)

Upload the two folders in this repo’s /src folder to your server’s /wp-content. Activate the theme “ecs87 Skeleton”. Activate plugins: Category Order and Taxonomy Terms Order, CMB2 Field Type: Ajax Search, and Gravity Forms.
In the Dashboard (Settings)

  1. Go to Settings -> Permalinks -> Select “Post name” -> Click the “Save Changes” button
  2. Go to Settings -> General -> Find the “Anyone can register” checkbox and check it (Optional; do not do this if you want to only add users yourself)
  3. Go to Settings -> General -> Select “Subscriber” for the “New User Default Role”.
  4. Go to Settings -> Discussion -> Select: Allow people to post comments on new articles
  5. Go to Settings -> Discussion -> Select: Users must be reigstered and logged in to comment
  6. Go to Settings -> Discussion -> Uncheck: Comment author must fill out name and email
  7. Go to Settings -> Discussion -> Uncheck: Comment author must have a previously approved comment
  8. Go to Settings -> Discussion -> Uncheck: Anyone posts a comment
  9. Go to Settings -> Discussion -> Uncheck: A comment is held for moderation

In the Dashboard (Forms)

  1. Activate your license of Gravity Forms
  2. Go to Forms -> New Form/Add New -> Form Title -> “Timesheet” -> Click the Create Form Button
  3. Add 6 fields:
    • Date (Advanced Fields -> Date)
    • Start Time (Advanced Fields -> Time)
    • End Time (Advanced Fields -> Time)
    • Client (Standard Fields -> Drop Down)
    • Task Description (Standard Fields -> Paragraph Text)
    • Worker Name (Standard Fields -> Single Line Text)
  4. I’ve added images to show what each of the field settings should be populated with (if you do not see images for an Appearance tab for that field it means that the defaults were used).
  1. Take note of ALL field ID numbers and your form ID number (refer to the image below to get these numbers; the red arrow is pointing to the form ID number and the orange arrow is pointing to the field ID number).
  2. Go to Forms -> select your “Timesheet” form -> Settings -> Confirmations -> I hope you took note of your form ID number!!! -> Confirmation Type: Text -> Message: [gravityform id=”your form ID # goes here” title=”false” description=”false”] (refer to the image below for clarification).
  3. OPTIONAL: Go to Forms -> select your “Timesheet” form -> Settings -> Notifications -> toggle the notification slider to OFF.

In the Dashboard (Appearance)

  1. Go to Appearance -> Customize -> Select the Logo & GForms Selection on the left sidebar.
  2. Add/Upload an image to use as your site logo.
  3. I hope you took note of your form ID and field ID numbers from the timesheet form! Enter in the respective IDs to their fields in this section under the site logo selector.
  4. Click the Save & Publish button.

In the Dashboard (Pages):

  1. Add pages with titles: Clients, Tasks Assigned To Me, Timesheet, and Timesheet Review.
  2. For the Clients page assign the “Clients Archive Page” template.
  3. For the Timesheet Review page assign the “Timesheet Admin Page” template.
  4. For the Timesheet page assign the “Timesheet Page” template.
  5. For the Timesheet page add this shortcode to the Visual/WYSIWYG editor:
[gravityform id="your_form_id_goes_here" title="false" description="false"]
  1. Go to Settings -> Reading -> Select “A static page (select below)” for the “Front page displays” section.
  2. For “Front page:” select the page “Tasks Assigned To Me”. Click the Save Changes button.

In the Dashboard (Appearance)

  1. Go to Appearance -> Menus -> create a new menu.
  2. For the Menu Name input “PM Menu”.
  3. Add the pages: Tasks Assigned To Me, Timesheet, Timesheet Review, and Clients.
  4. Select “Custom Links” from the left sidebar and input this url:
http://yourdomain.com/wp-login.php?action=logout
  1. For the Link Text input “Logout”.
  2. Under the Menu Settings assign the Display location to Project Management Nav.
  3. Click the Save Menu button.

Basic Usage (after initial setup)

All pages on the site will require that the user be logged in.
In the dashboard you can create clients for the client list by going to Tasks -> Client List. This is a category/taxonomy that is used to populate various client fields across the site.
Once a client is added you can then create tasks linked to that client that are assigned to users. Tasks contain a title, content, closed/completed status, a deadline date, which client it belongs to, files belonging to the task, users belonging to the task and comments/discussions belonging to that task.
Users are automatically emailed whenever they are added or removed from a task.
Users associated with a task as well as the task’s creator are also automatically emailed whenever a user posts in the comments/discussions for that task.
Users can keep track of their time via the…