A WordPress plugin that adds 2 blocks to any WordPress site. One is a single block, that can be used to log all catches from a single session. You can show a map of the location, with a pin to show the exact location you fished (or general area if stalking) and list all fish you cactch. The other block, acts as a summary block, which will include all catches. These are shown as a simple pin with a count of the fish caught, linking back to the initial post.

You can see examples of both the catch and all catch maps

Links

Installation

The easiest way to install the plugin, to either head over the releases section and choose the latest version from releases

Or you can click this link to download the latest version. Once you have the zip file either unpack and FTP into your plugins directory or use the wp-admin interface.

If you wish to install it from the repo, just clone into your plugins dir, checkout the main branch and run npm install then npm run build

Usage

Once you have the plugin installed, you can setup the API needed if you want to use the other templates. Thunderforest and Jawg API keys can be added to the usual WordPress General Settings page.

Stadia maps require you to whitelist your site for limited access to the map tiles

Catch Block

You can control some some other features of the block

The size units shown on the block. Feel free to get creative

Sets the gallery details when viewing the block on the front end.

You can customise how the catch cards are shown.

Choose from on of the 104 different map styles and set how large the map should show.

Catch Map

Unlike the catch log, we do not have as many options here. Just pick the map type and the minimum number of catches to show

When a marker is clicked, a panel is revealed on the front end linking to the post with the catch report

Additional Information

This is a simple little plugin, it is not fool proof, if you added 2 blocks to a post, it will might cause a weird set of race condition with the catch count, meta field.

Feel free to open issues on github if you have problems or ideas.

Leave a Reply

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