Code Monkey home page Code Monkey logo

wordpress-google-cse's Introduction

WordPress Google CSE

This is not another iframe embed or AJAX result listing plugin. Instead search results from your Google Custom Search Engine is served via WordPress search listing. No need to customize your theme or search box.

You'll need to get an Google API key and a Google Custom Search Engine ID for it to work.

Dependencies

  • WordPress 3.3

Features

  • Search results sorting by relevance
  • Works with all post types
  • Multisite & network support

Installation

  1. Place the plugin (google-cse/ directory) in the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Enter and save your Google API key and Google Custom Search Engine ID.
  4. You're done, celebrate with a cup of coffee?

If you want to use images from the Google result in your search result (search.php) use $post->cse_img for image URL.

Feedback and questions

Found a bug or missing a feature? Don't hesitate to create a new issue on GitHub or contact me directly.

Credits

Changelog

1.0.7

  • Added support for Phrase Search.

1.0.6

  • Excluded admin from search hook

1.0.5

  • Added Settings link to Plugins index
  • Added option for disabling post matching

1.0.4

  • Fixed memory leak caused by the query used to fetch posts by url.
  • Fixed post variables WordPress was looking for.
  • Fixed images returned by search results playing nicely.

1.0.3

  • Added in featured images from Google results (use $post->cse_img for image URL)
  • Fixed pagination bug

1.0.2

  • Added more descriptive error messages to admin
  • Disabled SSL check for www.googleapis.com.

1.0.1

  • Using native WordPress methods for remote requests

1.0

  • Settings
  • Search result cache

Roadmap

wordpress-google-cse's People

Contributors

ptz0n avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.