Giter Club home page Giter Club logo

aotearoa-search's Introduction

aotearoa-search // wp_search_json

This is a plugin for wordpress that allows you to get a json object when you do search. Nothing else, nothing less.

This plugin it's under development.

I AM NOT RECOMMENDING ANYONE TO USE IT.

You're free to download it and have a look around.

There's no interface provided, just a json as result when you search for something on your wordpress.

Why I did this?

  • Because I like and I use wordpress.
  • Because I wanted to get parsed and formatted data using a simple search query.
  • Because json is pretty.

To use this plugin you should

  • Be courious as it's not a release or anything like that
  • Know how json works
  • Know how ajax works
  • Want to create something nice with ajax

You should have a look on js/view.search.js to start looking for options and create your own functions to display the content.

This works in the following way:

  • aotearoa_aj_search located on the index of this plugin is an ajax function that uses the class customSearch.
  • aotearoa_aj_search uses a class called customSearch located on class/customsearch.php
  • the file view.search.js uses an object called searchPostByQuery located on controller.search.js
  • the class searchPostByQuery located on controller.search.js has a prototyped function where to perform an ajax call to using the aotearoa_aj_search function.
  • The content has been displayed on view.search.js
  • The content will show up on your console

aotearoa-search's People

Contributors

teledirigido avatar

Watchers

James Cloos avatar Jamie Morgan-Ward 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.