Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Implementing Search Functionality

Anyone with a large CBOX site wants a way to search through content, but be aware that search functionality is not automatically “built in.”  We can’t really anticipate everyone’s setup.  Here are some options to get your site’s search functions up and running.

Basic

  • Use the default WordPress search widget.  It is easy to install – you just drag it to the widget area of your choice – but be aware that search results will come only from WordPress content (i.e. posts and pages).

Google Search

  • Use Google Custom Search Engine. You just need to set up an account, and provide the site(s) you want to search.  Set up is quick and easy.  You’ll get a code snippet that you can copy and paste into a text widget.  Place it where ever you want.
  • You can build on the option above and customize it so it is a little more attractive, and displays search results on an actual WordPress page.  This method involves a little coding and is described in this tutorial.
  • Another way to implement Google Custom Search is via a number of free plugins available on the WordPress Repository.  The plugin used on the CUNY Academic Commons is called Google Custom Search.  Search by Google is another option – easy to set up, but a little light on options.  There are other options as well – find one in the repository that you like.

Google Search displays adds, and new pages may take a little while to index.  Customization options may be somewhat limited.

Industrial Strength Options

Probably the best way to provide searching on your site is to use search engines such as Solr or Sphinx. These are systems that will need external support from an IT department, but they’re infinitely customizable, and keep all of your search in-house, rather than farming out to a third party like Google.  If you have access to Solar or Sphinx, there are WordPress plugins to help with your integration.  The various plugins for Solr can be found here.   The plugin for Sphinx is called WordPress Sphinx Search Plugin.

 

CBOX Classic Guide

  • Overview
  • FAQ
  • Installation Guide
  • Plugins
    • Core Plugins
    • Optional Plugins
    • Expert Mode
  • Configuring CBOX Classic
    • CBOX Classic Theme
      • Dashboard
      • Homepage and Slider
      • Widget Areas
      • Sitewide Wiki
      • BuddyPress vs. bbPress Forums
      • Handling Registration
  • CBOX Classic Theme Developer Guide

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register