Title: CPD Search
Author: rossigee
Published: <strong>Abril 16, 2012</strong>
Last modified: Mayo 22, 2017

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/cpd-search.svg)

# CPD Search

 By [rossigee](https://profiles.wordpress.org/rossigee/)

[Download](https://downloads.wordpress.org/plugin/cpd-search.3.3.9.zip)

 * [Details](https://ceb.wordpress.org/plugins/cpd-search/#description)
 * [Reviews](https://ceb.wordpress.org/plugins/cpd-search/#reviews)
 *  [Installation](https://ceb.wordpress.org/plugins/cpd-search/#installation)
 * [Development](https://ceb.wordpress.org/plugins/cpd-search/#developers)

 [Support](https://wordpress.org/support/plugin/cpd-search/)

## Description

Acts as a thin layer between your UK commercial property estate agent’s WordPress
theme, and CPD’s powerful commercial property search engine, with comprehensive 
details of the latest properties across the UK. In effect, this plugin allows your
developers to add an extensive UK commercial property search facility to your website.
Designed as a simple set of PHP classes, and an AJAX/JSON handler to help your page
handlers capture and process your visitor’s search criteria, results, contact details
and their clipboard. The end goal is that an e-mail is sent to you and your visitor,
containing the short-list of properties they are interested in.

## Installation

You need to develop or customise your WordPress theme with custom ‘page-*.php’ pages
that handle the functionality required in your particular use case, but having those
pages make calls to the CPD REST API, via the utility functions provided by this
plugin.

In short, you need to create at least one custom page each for your property search
form, search results, details view, and clipboard results view. More detailed documentation
is forthcoming, along with a demonstration theme that you can download and play 
with to see how it works, and use in whole or part to augment similar functionality
in your own theme.

Be sure to put a valid CPD application token into the ‘CPD Search’ configuration
page found in the WordPress admin area, until ‘Settings -> ‘CPD Search’.

Support available by e-mail

## FAQ

  Installation Instructions

You need to develop or customise your WordPress theme with custom ‘page-*.php’ pages
that handle the functionality required in your particular use case, but having those
pages make calls to the CPD REST API, via the utility functions provided by this
plugin.

In short, you need to create at least one custom page each for your property search
form, search results, details view, and clipboard results view. More detailed documentation
is forthcoming, along with a demonstration theme that you can download and play 
with to see how it works, and use in whole or part to augment similar functionality
in your own theme.

Be sure to put a valid CPD application token into the ‘CPD Search’ configuration
page found in the WordPress admin area, until ‘Settings -> ‘CPD Search’.

Support available by e-mail

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CPD Search” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ rossigee ](https://profiles.wordpress.org/rossigee/)

[Translate “CPD Search” into your language.](https://translate.wordpress.org/projects/wp-plugins/cpd-search)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cpd-search/), check
out the [SVN repository](https://plugins.svn.wordpress.org/cpd-search/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/cpd-search/) by 
[RSS](https://plugins.trac.wordpress.org/log/cpd-search/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.3.9

 * Add installation and user guide documentation.
 * Stop sending ‘X-CPD-Context’ headers, which are no longer necessary.

#### 3.3.8

 * Return ‘false’ instead of exception on resetting password of unknown e-mail address.

#### 3.3.7

 * Add distinct ‘sizeDescriptionSqFt’ method for presenting size in sqft.

#### 3.3.6

 * Fix 401 response when unregistered visitor registers interest using AJAX method.

#### 3.3.4

 * Fix for handling of 403 errors when using test tokens.

#### 3.3.3

 * Bump version to indicate compatibility with WordPress 4.2.

#### 3.3.2

 * Fix return values from clipboard functions, and session corruption bug.

#### 3.3.1

 * Switch ‘remove_from_clipboard’ parameter back to propertyid. Update URIs for 
   clipboard API calls.

#### 3.3.0

 * Update to ‘add_to_clipboard’ and ‘remove_from_clipboard’ calls to reflect more
   RESTful backend API usage.

#### 3.2.3

 * Update methods that generate media URLs to use URLs now provided in server response(
   since REST 1.0.6).

#### 3.2.2

 * Update URLs for live/sandbox environments in settings.

#### 3.2.1

 * Fix for ‘verify_user’ method setting wrong user token, causing 401 on subsequent
   search.

#### 3.2.0

 * Add a ‘visitor_logout’ method.

#### 3.1.5

 * Fix for JS ajaxurl where WP admin is set to enfore SSL admin logins.

#### 3.1.4

 * Fix for handling of exception responses from ‘registerinterest’ method calls.

#### 3.1.3

 * Fix for identification of ‘agent not subscribed to visitors service’ exception.
 * Stop sending redundant ‘agent_ref’ parameter in register user requests.

#### 3.1.2

 * Only show ‘live’ sectors for agent’s sectors pulldown.

#### 3.1.1

 * Fix for display of ‘sectors’ field/column.

#### 3.1.0

 * Allow for updated responses with multiple sectors per property.

#### 3.0.12

 * Fix for ‘create_clipboard’ bug causing error for users verifying their address.

#### 3.0.11

 * Add ‘fetch_agent_sectors’ methods.

#### 3.0.10

 * Add missing ‘verify_user’ and ‘change_password’ PHP methods.
 * Add ‘tenureDescription’ method.

#### 3.0.9

 * Fix for broken ‘removeFromShortlist’ method.
 * Fix for broken ‘is_user_registered’ method.
 * Add utility ‘getCookie’ and ‘setCookie’ methods to CPD JS.
 * Add ‘areaDescription’ PHP function.
 * Add missing ‘login_visitor’ and ‘reset_password’ PHP methods.

#### 3.0.8

 * Drop stray empty lines from PHP files, causing ‘header output already started’
   warning.

#### 3.0.7

 * Add functions to add/remove properties from SESSION-based shortlist.

#### 3.0.6

 * Recognise 405 status when agents ‘visitor’ flag is not set, raise exception.

#### 3.0.5

 * Update ‘cpd_search_service_context’ to a static class method.

#### 3.0.4

 * Typofix.

#### 3.0.3

 * Rename plugin from ‘cpd-search-lite’ to ‘cpd-search’.

#### 3.0.2

 * Replace ‘CPDAjax’ global JS with ‘CPDSearchConfig’.

#### 3.0.1

 * Various bugfixes from in-house testing.

#### 3.0.0

 * Switch functions wrapped from older SOAP API to use our newer REST API.

#### 2.0.2

 * Drop blank line at end of file causing session header problems.

#### 2.0.1

 * Initial version. Re-write, avoiding lessons learned developing/deploying v1.

## Meta

 *  Version **3.3.9**
 *  Last updated **9 tuig ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/cpd-search/)
 * Tags
 * [commercial](https://ceb.wordpress.org/plugins/tags/commercial/)[database](https://ceb.wordpress.org/plugins/tags/database/)
   [office](https://ceb.wordpress.org/plugins/tags/office/)[property](https://ceb.wordpress.org/plugins/tags/property/)
   [search](https://ceb.wordpress.org/plugins/tags/search/)
 *  [Advanced View](https://ceb.wordpress.org/plugins/cpd-search/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cpd-search/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cpd-search/reviews/)

## Contributors

 *   [ rossigee ](https://profiles.wordpress.org/rossigee/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cpd-search/)