Code Monkey home page Code Monkey logo

gmw-taxonomy's Introduction

Geo My WordPress - Taxonomy Locator Addon

Overview

This is an addon for the Geo My WordPress plugin that adds geo location support for taxonomies. Using this plugin you can add geo location data to taxonomies and then search for taxonomies by address. You can also filter taxonomy search results by post ID so a user can search for taxonomies attached to a specific post. The plugin also allows you to search for posts by location using the geo location data of the post's taxonomy terms.

Usage

Visit the Taxonomies tab under the GEO my WP Settings admin page to set defaults and specify which taxonomies should get an address field.

Create a Taxonomy Locator form under the GEO my WP Forms admin page and specify which taxonomies to search and other search settings that are similar to the Posts Locator form. Embed the form as you would normally using the [gmw form="<id>"]. You can optionally filter search results by post with the filter_post_id such as [gmw form="<form_id>" filter_post_id="<post_id>"]. Users can now search for taxonomy terms by address.

Create a Posts by Taxonomy Locator form under the GEO my WP Forms admin page and specify which taxonomies to fetch the address data from. You can also specify labels for displaying the distance to the closest taxonomy term as well as number of taxonomy terms for each post returned. Embed the form as you would normally. Users can now search for posts by address using the address of the attached taxonomy terms.

NOTE: for performance reasons, when using the Posts by Taxonomy Locator form, the details about the closest taxonomy term, such as name, address, etc, are NOT shown displayed. No map is displayed either. Only the distance to the closest taxonomy term and the number of taxonomy terms matching the search are displayed. I may add this feature in the future as an optional setting.

Updates

This plugin uses the GitHub Updater updater for updates. If you'd like to keep the plugin updated, download and install the latest tagged release.

Support

Post support requests under Issues. Keep in mind that I'm involved in a lot of projects! Pull requests welcome :-)

Disclaimer

Geo My WordPress was created by Eyal Fitoussi. This GMW Taxonomy plugin merely extends that one as an addon. Eyal was very helpful in this plugin's development. This is the first version of the plugin and it may have bugs and other oddities. It is released as is with no liability.

gmw-taxonomy's People

Contributors

yaronguez avatar

Stargazers

 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.