# Graph Commons plugin for WordPress

The Graph Commons plugin for WordPress allows you to search for and insert node cards and graphs from Graph Commons to your posts.

Just paste a link from Graph Commons to your editor and it will bring the object to your post. You can use the plugin's built-in search functionality, preview your findings and then insert it as well.

Requirements
--------

* [Graph Commons membership & API Key](http://graphcommons.github.io/api-v1/)
* A working wordpress installation
* Curl enabled on your server

Usage
------
After installing, go to **Settings->Graph Commons** and add your API key. Then go to add new post page and you will see a new button. Make sure that you are on the "Visual" mode.


Installation
------------

Just two steps.

1. Clone the repo to your **/wp-content/plugins/** directory

    * OR [Download the zipped file, extract it](https://github.com/cdolek/graphcommons-wordpress/archive/master.zip) and move the unzipped directory to your **/wp-content/plugins/** directory

    * OR [Download and then upload the zipped file](https://github.com/cdolek/graphcommons-wordpress/archive/master.zip) through **Plugins->Add New->Upload Plugin** page

2. Activate the plugin through the **'Plugins' menu**

Supported Languages
-------------------

* English
* Turkish

ToDo
------------
* ~~oembed implementation~~
* ~~graph search and embedding~~


Contributing
------------

Questions, comments, bug reports, and pull requests are all welcomed.

Authors
-------

[Cenk Dölek](mailto:cdolek@gmail.com)

License
-------

Copyright 2016 [Graph Commons](https://graphcommons.com)
Released under the MIT License
