alexboia / WP-Trip-Summary

A WordPress trip summary plugin to help travel bloggers manage and display structured information about their train rides and biking or hiking trips
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Add settings management capability #15

Closed alexboia closed 9 years ago

alexboia commented 9 years ago

This issue tracks the work required to implement settings management capability to WP-Trip-Summary.

Available settings

  1. Tile layer option - allows the use to change the provider for the tile layer. Right now OSM is used by default. This will remain the default option;
  2. Configure teaser: whether to display it or not and what text should be displayed. Default is to display it and the default text is the one being displayed right now.
  3. Enable magnifying glass capability in frontend map;
  4. Enable full screen capability in frontend map;
  5. What units of measure to display (this will not to any actual conversions, it will only attach meaning to the numbers entered). Options are metric and imperial. Default is metric.
  6. Enable map scale in both frontend and backend maps. Default is to enable.

    Required changes

    1. Back-end administration panel

    • add settings management page;
    • add settings management menu option;
    • inject settings into trip summary editor (e.g. the tile layer URL setting);

      2. Frontend viewer

    • inject settings into trip summary viewer;
    • adjust teaser to respect the new teaser settings.