Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Poiju

Descriere

Poiju a plugin for displaying points of interest on your website. The points can be displayed on a map (powered by Mapbox) as well as in a list.

This plugin is in beta. It’s very bare-bones at this point. If you find bugs or if you wish for specific features, I appreciate it if you share them in the support forum for this plugin.

Poiju uses a custom post type to manage your points of interest. When the plugin is active, you can find a „Points of interest”-heading in the menu to the left in your dashboard. Here, points of interest can be managed similarly to WordPress posts.

To show points of interest on your site, use the following shortcode, wherever shortcodes are allowed:

[poiju_pois]

You can explicitly disable the map as follows:

[poiju_pois map="false"]

To use the Mapbox map for points of interest, you must create an account on the Mapbox site and get an API access token. Also, you must specify a latitude and a longitude for at least one of your points of interest.

To make the featured image display in a „lightbox” when clicked, it should be enough to install and activate the WP Featherlight plugin. Others probably work too.

Customization

You can override the template used for showing a point of interest in the shortcode. The original is located in the poiju plugin directory, in templates/shortcode/poi.php. By creating a poiju folder in your theme, containing the same directory structure and file, you can provide your own version of this template. For example, if your theme is Twenty Seventeen, the path would be twentyseventeen/poiju/templates/shortcode/poi.php.

Look at the original template to see how to display data from the point of interest.

Capturi ecran

  • Map and list of points of interest
  • Zoomed-in map showing points of interests
  • Point of interest editor

Contributori și dezvoltatori

„Poiju” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„Poiju” a fost tradus în 1 locală. Mulțumim traducătorilor pentru contribuția lor.

Tradu „Poiju” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

0.5

  • Add choice of icons to points (shown on map and in list)
  • Add pagination for list of POIs
  • Various tweaks and fixes

0.4

  • Add setting for showing point names on map
  • Add point clustering
  • Add setting for showing map controls
  • Lower minimum required PHP and WordPress versions
  • Various tweaks and fixes

0.3

  • Show points of interest as markers on map, not as labels.
  • Fix some labels in the admin.

0.2

  • Abbreviate point names on map until hover/focus.
  • Fix bug with initial map bounds.
  • Tweak info, add screenshot.

0.1

  • Initial release