ClassicPress Plugins Available From azurecurve | Development in 2023: Nearby

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 30th plugin is Nearby.

Nearby creates a table of nearby locations (pages) based on GPS co-ordinates.

Nearby integrates with the following https://development.azurecurve.co.uk/classicpress-plugins/’>azurecurve | Development plugins:

  • Flags allows a location to be set for a page; this will display the location flag next to the location name in the table of nearby attractions.
  • Icons allows an icon to be displayed next to a nearby location which has an entry on a timeline (requires integration with Timelines to be enabled).
  • Timelines allows a character (such as *) to be displayed next to a nearby location which has an entry on a timeline.
  • Toggle Show/Hide allows the table of nearby locations to be enclosed with a toggle.

Apply the

[nearby]

shortcode to a page with co-ordinates and nearby locations (pages with co-ordinates), based on the settings, will be displayed in a table.

The shortcode accepts two parameters:

  • type to limit nearby attractions (multiple types can be provided in comma separated string).
  • title to override the default toggle title.

Example shortcode usage:

[nearby type="Distilleries" title="Nearby Distilleries"]

Examples of this plugin in action:

This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard.

Download

The current release of the plugin can be downloaded from GitHub

More information

More information on this plugin can be found on the azurecurve | Development page for the plugin.

Click to show/hide the ClassicPress Plugins Available From azurecurve | Development in 2023 Series Index

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *