/odwp-shwcp_gleton

WordPress plugin that changes behavior of WP Contacts plugin in way which one of my clients wanted.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Customizations for WP Contacts plugin

Pro český překlad se podívejte do souboru README.cs.md.

WordPress plugin that alters and extends functionality of WP Contacts plugin in way as one of my clients needed for its business.

It was developed against WP Contacts version 3.1.5 and WordPress from version 4.9.4 to 4.9.5.

Features

  • added campaigns data type
  • original front-end page with leads listing was slightly modified
  • own front-end with new campaigns listing page and new main front-end page for agent user role
  • plugin is localizable (currently is plugin just in Czech)
  • plugin supports multisites

Campaigns

  • are attached to single leads, created are by admins, and used are by agents
  • contains these fields (among others):
    • tender_id: ID of user account of a single agent,
    • status: one of several choices (not opened, opened, closed),
    • substatus: depends on status, one of several choices,
    • start_date: date when should campaign start; from this date will be offered to logged agents,
    • stop_date: date when should campaign stop; can be omitted and then is set when status is changed to closed,
    • author_id: ID of user account of administrator who created the campaign,
    • created: date and time was campaign created,
    • editor_id: ID of user account of user who edited the campaign for the last time,
    • modified: date and time of the moment when was campaign edited for the last time.

Front-end - old main page customizations

Displayed rows

Count of displayed rows on one page can be changed directly on the page not in the settings:

Change count of displayed rows

Link to campaigns

On each row in edit column is new icon that contains link to page with campaings listing for selected lead:

New campaigns icon in leads table

Front-end - campaigns

XXX Finish this section!

Installation

XXX Finish this section!