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.

Search Widget and WP REST Server for Toolset Types


This search widget can search Toolset Types custom posts by the value of Toolset Types custom fields, custom taxonomies and parent/child relationships. It is designed to be used with the Toolset Types plugin and makes use of Toolset Types’ proprietary database format to generate user friendly field names and field values. The widget uses user friendly substitutions for the actual values in the database, e.g. post title is substituted for post id in parent/child fields. The selected posts can be displayed as a standard WordPress list of posts, a spreadsheet of posts with their custom fields or a gallery of featured images.

Version 1.3 supports a single-page application mode where the search results returned by an interactive AJAX request populates a Backbone.js collection of models which can be rendered in the same page using Underscore.js templates and the Bootstrap framework.
You can view a working sample page using this plugin in single-page application mode at my portfolio website.

Version 2.0 implements an experimental WP REST API server for Toolset Types custom post types and custom fields.

Please visit the online documentation for more details. This plugin works with Toolset Types 2.2.2 and requires at least PHP 5.4. This plugin is not compatible with the WordPress Multilingual Plugin by OnTheGoSystems.


  • The "Search Widget" interactively loads the "Search Results Pane".


Installation Instructions
  1. Upload the folder “search-types-custom-fields-widget” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Activate this widget by dragging it to a sidebar through the “Appearance->Widgets” menu in WordPress.
Does this plugin require that Types plugin to be installed?


Where is the documentation?

How to use the REST Server?

To activate the REST server install and activate the WordPress REST API v2 plugin. Beware this requires pretty permalinks.
The search widget currently uses an older proprietary AJAX API and does not use the REST server and does not need the WordPress REST API plugin to be installed.
The REST server is experimental and the API is subject to change.
Please read the documentation.


There are no reviews for this plugin.

Contributors & Developers

“Search Widget and WP REST Server for Toolset Types” is open source software. The following people have contributed to this plugin.




  • added automatic generation of user templates
  • fix HTML validation errors


  • added support for a JavaScript/Backbone client
  • enhanced the REST search by taxonomy, child-of and parent-of to accept both ids and titles


  • added support for select, radio and checkbox Toolset Types custom fields to REST API
  • replaced term id with term name or slug for taxonomy fields in REST API
  • fix bug where search widget tries to use previously deleted custom post type


  • implements a WP REST API server.
  • much better support for user templates.
  • bug fixes and css tweaks.


  • fix a security hole
  • support for preloading the search results pane
  • improved carousel
  • tweaks to the user interface


  • supports dynamically loading via AJAX the search results into the current page instead of loading a new page, i.e. supports the single-page application paradigm.
  • replace ugly full viewport carousel view with an inline embedded carousel view
  • add mobile swipe to carousel view
  • bug fixes and css enhancements

  • fix broken widget admin interface


  • Added option to show the search results using a responsive Twitter Bootstrap stylesheet.

  • update the .pot file


  • Make the Backbone.js mode gallery responsive.


  • Add facility for invoking a function after a Backbone.js template has been rendered – usful for attaching event listeners on the rendered elements.
  • Added the popup feature of the classic mode gallery to the new backbone mode gallery.


  • The front-end re-written as a single-page web application using a Backbone.js Model-View-Presenter – you can select either classic mode or backbone mode.
  • You can specify your own Underscore.js template to customize the displayed results – see stcfw-search-results-template.php.


  • The gallery of featured thumbnail images supports mouse-over popups implemented by a Backbone.js view using a optionally user supplied Underscore.js template.


  • the search results can optionally be displayed as a gallery of featured images of the selected posts. The featured images have a clickable link back to their posts.


  • added a filter "stcfw_display_value" for field values; the filter allows you to translate the raw field value before it is displayed


  • Added localization – use _e() and __(), provide .pot file.
  • Code rewritten to improve software quality.
  • Tested up to WordPress 4.3 Release Candidate (4.3-RC2-33585).

  • fix javascript bug

  • fix bug where javascript handlers were not always installed when widget was dynamically inserted or replaced in administrator’s widget page
  • use auto generated excerpt if no user supplied excerpt
  • replace taxonomy slug with name
  • use simplified labels for checkbox values in search result table
  • tested up to WordPress 4.3 Release Candidate (4.3-RC1-33519)


  • code rewritten to fix bugs, enhance security and improve software quality
  • added option to use simplified labels for select, checkboxes and radio button values
  • replaced field slug with field title
  • changed some css to prettify things

  • another fix for the problem with custom field of type ‘Checkboxes’ with version 1.6.3 of Types

  • fix problem with custom field of type ‘Checkboxes’ with version 1.6.3 of Types

  • no new features; some small enhancements, bug fixes and code maintenance
  • taxonomy items are no longer required to come before other items in the sort order
  • it is now possible to choose to display post content in the table of posts which will actually display the post excerpt
  • administrator’s interface is now stylable using a .css file

  • fixed search by tags by input box bug
  • added style sheet for search widget


  • added support for sortable tables for search results.

  • added search by post author
  • added support for post type specific css files
  • fix pagination bug
  • fix several other bugs


  • optionally display seach results in a table format
  • optionally set query type to is_search so only excerpts are displayed for applicable themes
  • supports drag and drop to change order of fields


  • added range search for numeric and date custom fields


  • separated child of/parent of categories by post type
  • made items shown per custom field user settable
  • fixed to handle corrupt obsolete data without crashing
  • fixed incorrect counts due to double counting and counting blank and null values
  • tweaked the display of checkboxes, select and radio custom fields


  • add support for selecting and/or on search conditions

  • Initial release.